Learn R Programming

Oscope (version 1.2.0)

NormForSine: Rescale the gene/isoform expression matrix

Description

Rescale the gene/isoform expression matrix

Usage

NormForSine(Data, qt1=.05, qt2=.95)

Arguments

Data
input gene-by-sample matrix or isoform-by-sample matrix
qt1,qt2
thresholds for outlier adjustment. For each gene/isoform, values <= qt1="" th="" quantile="" (="">= qt2 th quantile) will be pushed to qt1 th quantile (qt2 th quantile) prior to the scaling. default values are 0.05 and 0.95.

Value

The output will be a gene-by-sample or isoform-by-sample matrix. For each gene/isoform, the expressions will be scaled linearly to [-1,1]

Examples

Run this code
NormForSine(matrix(rnorm(10), nrow=2))

Run the code above in your browser using DataLab