Skip to contents

Neo file parsing and manipulation.

Super class

nemo::Tool -> Neo

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 basically gets ignored.

files_tbl

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


Method parse_candidates()

Read neo_data.tsv file.

Usage

Neo$parse_candidates(x)

Arguments

x

(character(1))
Path to file.


Method tidy_candidates()

Tidy neo_data.tsv file.

Usage

Neo$tidy_candidates(x)

Arguments

x

(character(1))
Path to file.


Method parse_predictions()

Read neoepitope.tsv file.

Usage

Neo$parse_predictions(x)

Arguments

x

(character(1))
Path to file.


Method tidy_predictions()

Tidy neoepitope.tsv file.

Usage

Neo$tidy_predictions(x)

Arguments

x

(character(1))
Path to file.


Method clone()

The objects of this class are cloneable with this method.

Usage

Neo$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

cls <- Neo
indir <- system.file("extdata/oa", package = "tidywigits")
odir <- tempdir()
id <- "neo_run1"
obj <- cls$new(indir)
obj$nemofy(diro = odir, format = "parquet", input_id = id)
#> NULL
(lf <- list.files(odir, pattern = "neo.*parquet", full.names = FALSE))
#> character(0)