View source: R/Script_PLATE_03_COMPUTE_PSI_2_Compute_MXE.R
ComputePSI.MXE | R Documentation |
Validate MXE splicing events and subsequently computes percent spliced-in (PSI) values these high-quality splicing events.
ComputePSI.MXE(MarvelObject, CoverageThreshold, UnevenCoverageMultiplier = 10)
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. |
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.
An object of class S3 with new slots $SpliceFeatureValidated$MXE
and $PSI$MXE
.
Sean Wen <sean.wenwx@gmail.com>
marvel.demo <- readRDS(system.file("extdata/data", "marvel.demo.rds", package="MARVEL")) marvel.demo <- ComputePSI.MXE(MarvelObject=marvel.demo, CoverageThreshold=10, UnevenCoverageMultiplier=10 )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.