writeBambuOutput: Write bambu results to GTF and transcript/gene-count files

Description Usage Arguments Value Examples

View source: R/readWrite.R

Description

Outputs a GTF file, transcript-count file, and gene-count file from bambu

Usage

1
writeBambuOutput(se, path, prefix = "")

Arguments

se

a SummarizedExperiment object from bambu.

path

the destination of the output files (gtf, transcript counts, and gene counts)

prefix

the prefix of the output files

Value

The function will generate three files, a .gtf file for the annotations, two .txt files for transcript and gene counts respectively.

Examples

1
2
3
4
5
6
se <- readRDS(system.file("extdata",
    "seOutput_SGNex_A549_directRNA_replicate5_run1_chr9_1_1000000.rds",
    package = "bambu"
))
path <- tempdir()
writeBambuOutput(se, path)

bambu documentation built on Nov. 12, 2020, 2:01 a.m.