Learn R Programming

MARVEL (version 1.4.0)

ComputePSI.MXE: 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)

Value

An object of class S3 with new slots $SpliceFeatureValidated$MXE and $PSI$MXE.

Arguments

MarvelObject

Marvel object. S3 object generated from CreateMarvelObject function.

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.

Author

Sean Wen <sean.wenwx@gmail.com>

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.

Examples

Run this code
marvel.demo <- readRDS(system.file("extdata/data", "marvel.demo.rds", package="MARVEL"))

marvel.demo <- ComputePSI.MXE(MarvelObject=marvel.demo,
                              CoverageThreshold=10,
                              UnevenCoverageMultiplier=10
                              )

Run the code above in your browser using DataLab