extractGeneExpression: Extract gene counts or abundances from a switchAnalyzeRlist...

Description Usage Arguments Details Value Author(s) References Examples

View source: R/tools.R

Description

Extract replicate gene counts or expression from a switchAnalyzeRlist object using all the annotation fixes employed in creating the switchAnalyzeRlist.

Usage

1
2
3
4

Arguments

switchAnalyzeRlist

A switchAnalyzeRlist object.

extractCounts

A logic to indicate whether to extract counts (if TRUE, default) or expression estimates (if FALSE).

Details

The count matrix obtained if extractCounts=TRUE is the same as would be obtained by running tximport with countsFromAbundance="scaledTPM" which are suitable both for analysis of differential expression and usage.

Value

A data.frame with the replicate count/abundance estimates.

Author(s)

Kristoffer Vitting-Seerup

References

Vitting-Seerup et al. The Landscape of Isoform Switches in Human Cancers. Mol. Cancer Res. (2017).

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
data("exampleSwitchList")

geneCountMatrix <- extractGeneExpression(
    exampleSwitchList,
    extractCounts = TRUE
)

geneExpresionMatrix <- extractGeneExpression(
    exampleSwitchList,
    extractCounts = FALSE
)

IsoformSwitchAnalyzeR documentation built on Nov. 8, 2020, 5:36 p.m.