View source: R/Script_PLATE_03_COMPUTE_PSI_5_Compute_RI.R
ComputePSI.RI | R Documentation |
Validate RI splicing events and subsequently computes percent spliced-in (PSI) values these high-quality splicing events.
ComputePSI.RI( MarvelObject, CoverageThreshold, IntronCounts, thread, read.length = 1 )
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 |
An object of class S3 with new slots $SpliceFeatureValidated$RI
and $PSI$RI
.
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 )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.