Virusinterpreter file parsing and manipulation.
Super class
nemo::Tool
-> Virusinterpreter
Methods
Method new()
Create a new Virusinterpreter object.
Usage
Virusinterpreter$new(
path = NULL,
files_tbl = NULL,
tidy = TRUE,
keep_raw = FALSE
)
Arguments
path
(
character(1)
)
Output directory of tool. Iffiles_tbl
is supplied, this basically gets ignored.files_tbl
(
tibble(n)
)
Tibble of files fromnemo::list_files_dir()
.tidy
(
logical(1)
)
Should the raw parsed tibbles get tidied?keep_raw
(
logical(1)
)
Should the raw parsed tibbles be kept in the final output?
Examples
cls <- Virusinterpreter
indir <- system.file("extdata/oa", package = "tidywigits")
odir <- tempdir()
id <- "virusinterpreter_run1"
obj <- cls$new(indir)
obj$nemofy(odir = odir, format = "parquet", id = id)
#> NULL
(lf <- list.files(odir, pattern = "virusinterpreter.*parquet", full.names = FALSE))
#> character(0)