data.fitDataToNormal: Fit non-normal data to a normal distribution.

Description Usage Arguments Examples

Description

Here, we conduct a two stage fitting process to the normal distribution: 2D quantile normalization, followed by a non-paranormal transformation. You can choose to substitute by other fitting methods, too. A matrix of z-scores is returned.

Usage

1
data.fitDataToNormal(data, isControlSample)

Arguments

data

- A matrix of floating point numbers.

isControlSample

- A vector indicating which rows in the matrix come from control samples and which do not (1 or 0).

Examples

1
data.zscore = data.fitDataToNormal(data_mat, c(1,1,0,0,0,1,1,1,1))

BRL-BCM/MolPhenoMatch documentation built on May 26, 2019, 6:38 a.m.