ComputePSI.RI {MARVEL} | R Documentation |
Compute retained-intron (RI) percent spliced-in (PSI) values
Description
Validate RI splicing events and subsequently computes percent spliced-in (PSI) values these high-quality splicing events.
Usage
ComputePSI.RI(
MarvelObject,
CoverageThreshold,
IntronCounts,
thread,
read.length = 1
)
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. |
IntronCounts |
Data frame. Columns indicate sample IDs, rows indicate intron coordinates, and values indicate total intron coverage. The first column needs to be named |
thread |
Numeric value. Set number of threads. |
read.length |
Numeric value. The length of read. This number will be specific to the sequencing mode. E.g. read length should be set to |
Value
An object of class S3 with new slots $SpliceFeatureValidated$RI
and $PSI$RI
.
Examples
marvel.demo <- readRDS(system.file("extdata/data", "marvel.demo.rds", package="MARVEL"))
marvel.demo <- ComputePSI.RI(MarvelObject=marvel.demo,
CoverageThreshold=10,
IntronCounts=marvel.demo$IntronCounts,
thread=1
)