Skip to contents

Sage file parsing and manipulation.

Super class

tidywigits::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 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

if (FALSE) { # \dontrun{
path <- here::here(
  "nogit"
)
s <- Sage$new(path)
s$tidy()
s$tbls$tidy |>
  purrr::set_names(s$tbls$parser) |>
  purrr::map(\(x) x[["data"]][[1]])
} # }