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

Description Usage Arguments Examples

View source: R/data.fitDataToNormal.r

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(matrix, c(1,1,0,0,0,1,1,1,1))

lashmore/MolEndoMatch documentation built on May 5, 2019, 8:02 p.m.