Reads sample data, including Arriba fusions, Arriba plots, Salmon counts, DRAGEN fusions, DRAGEN mapping metrics, SVs, PURPLE CNVs, and PCGR SNVs.
Arguments
- p
RNAsum params list.
- results_dir
Directory to output extracted Arriba PNGs to (created automatically if it does not already exist).
- tx2gene
data.frame with tx_name and gene_id columns. Required for salmon. See tximport::tximport.
Examples
p <- list(
dragen_wts_dir = system.file("rawdata/test_data/dragen", package = "RNAsum"),
arriba_dir = system.file("rawdata/test_data/dragen/arriba", package = "RNAsum"),
umccrise = system.file(
"rawdata/test_data/umccrised/test_sample_WGS",
package = "RNAsum"
)
)
res <- read_sample_data(p, tempdir())