NormForSine {Oscope}R Documentation

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]

Author(s)

Ning Leng

Examples

NormForSine(matrix(rnorm(10), nrow=2))

[Package Oscope version 1.23.0 Index]