Skip to contents

Teal file parsing and manipulation.

Super class

nemo::Tool -> Teal

Methods

Inherited methods


Method new()

Create a new Teal object.

Usage

Teal$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_breakend()

Read breakend.tsv file.

Usage

Teal$parse_breakend(x)

Arguments

x

(character(1))
Path to file.


Method tidy_breakend()

Tidy breakend.tsv file.

Usage

Teal$tidy_breakend(x)

Arguments

x

(character(1))
Path to file.


Method parse_tellength()

Read tellength.tsv file.

Usage

Teal$parse_tellength(x)

Arguments

x

(character(1))
Path to file.


Method tidy_tellength()

Tidy tellength.tsv file.

Usage

Teal$tidy_tellength(x)

Arguments

x

(character(1))
Path to file.


Method clone()

The objects of this class are cloneable with this method.

Usage

Teal$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

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