Skip to contents

Neo file parsing and manipulation.

Super class

nemo::Tool -> Neo

Methods

Public methods

Inherited methods


Method new()

Create a new Neo object.

Usage

Neo$new(path = NULL, files_tbl = NULL)

Arguments

path

(character(1))
Output directory of tool. If files_tbl is supplied, this is ignored.

files_tbl

(tibble(n))
Tibble of files from nemo::list_files_dir().

Examples

cls <- Neo
indir <- system.file("extdata/oa", package = "tidywigits")
odir <- tempdir()
id <- "neo_run1"
obj <- cls$new(indir)
obj$run(output_dir = odir, format = "parquet", input_id = id)
(lf <- list.files(odir, pattern = "neo_.*parquet", full.names = FALSE))
#> [1] "sample1_neo_candidates.parquet"  "sample1_neo_predictions.parquet"