Tool1 file parsing and manipulation.
Super class
nemo::Tool -> Tool1
Methods
Method new()
Create a new Tool1 object.
Usage
Tool1$new(path = NULL, files_tbl = NULL)Arguments
path(
character(1))
Output directory of tool. Iffiles_tblis supplied, this basically gets ignored.files_tbl(
tibble(n))
Tibble of files fromlist_files_dir().
Examples
cls <- Tool1
indir <- system.file("extdata/tool1", package = "nemo")
odir <- tempdir()
id <- "tool1_run1"
obj <- cls$new(indir)
obj$nemofy(odir = odir, format = "parquet", id = id)
(lf <- list.files(odir, pattern = "tool1.*parquet", full.names = FALSE))
#> [1] "sampleA_2_tool1_table1.parquet" "sampleA_tool1_table1.parquet"
#> [3] "sampleA_tool1_table2.parquet" "sampleA_tool1_table3.parquet"
