Skip to contents

Cider file parsing and manipulation.

Super class

nemo::Tool -> Cider

Methods

Public methods

Inherited methods


Method new()

Create a new Cider object.

Usage

Cider$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 <- Cider
indir <- system.file("extdata/oa", package = "tidywigits")
odir <- tempdir()
id <- "cider_run1"
obj <- cls$new(indir)
obj$run(output_dir = odir, format = "parquet", input_id = id)
(lf <- list.files(odir, pattern = "cider_.*parquet", full.names = FALSE))
#> [1] "sample1_cider_blastn.parquet"     "sample1_cider_locusstats.parquet"
#> [3] "sample1_cider_vdj.parquet"