library("tima")
copy_backbone()
go_to_cache()
<- "https://raw.githubusercontent.com/"
github <- "taxonomicallyinformedannotation/tima-example-files/main/"
repo <- paste0(github, repo)
dir <- get_params(step = "prepare_features_edges")$files$networks$spectral$edges$raw$ms1
input_1 <- get_params(step = "prepare_features_edges")$files$networks$spectral$edges$raw$spectral
input_2 get_file(url = paste0(dir, input_1), export = input_1)
get_file(url = paste0(dir, input_2), export = input_2)
prepare_features_edges(
input = list("ms1" = input_1, "spectral" = input_2)
)unlink("data", recursive = TRUE)
Prepare features edges
Description
This function prepares edges for further use
Usage
prepare_features_edges(
input = get_params(step = "prepare_features_edges")\$files\$networks\$spectral\$edges\$raw,
output = get_params(step =
"prepare_features_edges")\$files\$networks\$spectral\$edges\$prepared,
name_source = get_params(step = "prepare_features_edges")\$names\$source,
name_target = get_params(step = "prepare_features_edges")\$names\$target
)
Arguments
input
|
Input file if ‘manual’ |
output
|
Output file |
name_source
|
Name of the source features column |
name_target
|
Name of the target features column |
Value
The path to the prepared edges