Parses and tidies DRAGEN RNA outputs (gene-fusion statistics, quantification statistics).
Super classes
nemo::Tool -> tidydragen::DragenTool -> DragenRna
Methods
Method new()
Create a new DragenRna object.
Usage
DragenRna$new(path = NULL, files_tbl = NULL)Arguments
path(
character(1))
Output directory of tool. Iffiles_tblis supplied, this is ignored.files_tbl(
tibble(n))
Tibble of files fromnemo::list_files_dir().
Examples
cls <- DragenRna; tool <- "dragenrna"
indir <- system.file("extdata", tool, package = "tidydragen")
odir <- tempdir()
obj <- cls$new(indir)
obj$run(output_dir = odir, format = "parquet", input_id = "run1", output_id = "out1")
(lf <- list.files(odir, pattern = "dragenrna_.*parquet", full.names = FALSE))
#> [1] "sampleA_dragenrna_fusion.parquet" "sampleA_dragenrna_quant.parquet"
