ComputePSI.MXE {MARVEL} | R Documentation |
Compute mutually exclusive exons (MXE) percent spliced-in (PSI) values
Description
Validate MXE splicing events and subsequently computes percent spliced-in (PSI) values these high-quality splicing events.
Usage
ComputePSI.MXE(MarvelObject, CoverageThreshold, UnevenCoverageMultiplier = 10)
Arguments
MarvelObject |
Marvel object. S3 object generated from |
CoverageThreshold |
Numeric value. Coverage threshold below which the PSI of the splicing event will be censored, i.e. annotated as missing (NA). Coverage defined as the total number of reads supporting both included and excluded isoforms. |
UnevenCoverageMultiplier |
Numeric value. Maximum allowable fold difference between two included or two excluded junction counts for MXE. |
Details
This function computes the PSI for each MXE splicing event. Splicing events provided in SpliceFeature
data frame will first be cross-checked against the splice junctions provided in SpliceJunction
data frame. Only events whose junctions are found in SpliceJunction
are retained. The formula for computing PSI is the number of junction reads supporting the included isoform divided by the total number of reads supporting both included and excluded isoforms.
Value
An object of class S3 with new slots $SpliceFeatureValidated$MXE
and $PSI$MXE
.
Author(s)
Sean Wen <sean.wenwx@gmail.com>
Examples
marvel.demo <- readRDS(system.file("extdata/data", "marvel.demo.rds", package="MARVEL"))
marvel.demo <- ComputePSI.MXE(MarvelObject=marvel.demo,
CoverageThreshold=10,
UnevenCoverageMultiplier=10
)