PSI_Statistic: PSI_Statistic

Description Usage Arguments Value Examples

View source: R/PSI_Statistic.R

Description

Statistical analysis of the alternative splicing events. This function takes as input the values of PSI. Perform a statistical analysis based on permutation test

Usage

1
PSI_Statistic(PSI, Design, Contrast, nboot)

Arguments

PSI

A matrix with the values of the PSI.

Design

The design matrix for the experiment.

Contrast

The contrast matrix for the experiment.

nboot

The number of random analysis.

Value

The output of these functions is a list containing: two data.frame (deltaPSI and Pvalues) with the values of the deltaPSI and the p.values for each contrast, and a third element (LocalFDR) with the information of the local false discovery rate.

Examples

1
2
3
4
5
6
7
   data(PSIss)
   Design <- matrix(c(1,1,1,1,0,0,1,1),nrow=4)
   Contrast <- matrix(c(0,1),nrow=1)

   # Statistical analysis:

   table <- PSI_Statistic(PSIss$PSI,Design = Design, Contrast = Contrast, nboot = 50)

EventPointer documentation built on Nov. 8, 2020, 7:12 p.m.