Sage file parsing and manipulation.
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.
Arguments
x
(character(1)
)
Path to file.
Method tidy_bqrtsv()
Tidy bqr.tsv
file.
Arguments
x
(character(1)
)
Path to file.
Method parse_genecvg()
Read gene.coverage.tsv
file.
Arguments
x
(character(1)
)
Path to file.
Method tidy_genecvg()
Tidy gene.coverage.tsv
file.
Arguments
x
(character(1)
)
Path to file.
Method parse_exoncvg()
Read exon.medians.tsv
file.
Arguments
x
(character(1)
)
Path to file.
Method tidy_exoncvg()
Tidy exon.medians.tsv
file.
Arguments
x
(character(1)
)
Path to file.
Method clone()
The objects of this class are cloneable with this method.
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]])
} # }