Prepare config for multiple raw files
Examples
dir1 <- "extdata/tool1/latest"
path1 <- system.file(dir1, "sampleA.tool1.table1.tsv", package = "nemo")
path2 <- system.file(dir1, "sampleA.tool1.table2.tsv", package = "nemo")
x <- tibble::tibble(
name = c("table1", "table2"),
descr = c("Table1 from Tool1.", "Table2 from Tool1."),
pat = c("\\.tool1\\.table1\\.tsv$", "\\.tool1\\.table2\\.tsv$"),
type = c("tsv", "tsv"),
path = c(path1, path2)
)
tool_descr <- "Tool1 does amazing things."
config <- config_prep_multi(x, tool_descr)
