Skip to contents

Sage file parsing and manipulation.

Super class

nemo::Tool -> Sage

Methods

Inherited methods


Method new()

Create a new Sage object.

Usage

Sage$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_bqrtsv()

Read bqr.tsv file.

Usage

Sage$parse_bqrtsv(x)

Arguments

x

(character(1))
Path to file.


Method tidy_bqrtsv()

Tidy bqr.tsv file.

Usage

Sage$tidy_bqrtsv(x)

Arguments

x

(character(1))
Path to file.


Method parse_genecvg()

Read gene.coverage.tsv file.

Usage

Sage$parse_genecvg(x)

Arguments

x

(character(1))
Path to file.


Method tidy_genecvg()

Tidy gene.coverage.tsv file.

Usage

Sage$tidy_genecvg(x)

Arguments

x

(character(1))
Path to file.


Method parse_exoncvg()

Read exon.medians.tsv file.

Usage

Sage$parse_exoncvg(x)

Arguments

x

(character(1))
Path to file.


Method tidy_exoncvg()

Tidy exon.medians.tsv file.

Usage

Sage$tidy_exoncvg(x)

Arguments

x

(character(1))
Path to file.


Method clone()

The objects of this class are cloneable with this method.

Usage

Sage$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

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