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
)
Examples
if (FALSE) { # \dontrun{
tima:::copy_backbone()
go_to_cache()
github <- "https://raw.githubusercontent.com/"
repo <- "taxonomicallyinformedannotation/tima-example-files/main/"
dir <- paste0(github, repo)
input_1 <- get_params(step = "prepare_features_edges")$files$networks$spectral$edges$raw$ms1
input_2 <- get_params(step = "prepare_features_edges")$files$networks$spectral$edges$raw$spectral
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)
} # }