smad {StabPerf}R Documentation

Scaled Median Absolute Deviation normalization

Description

Performs SMAD (Scaled Median Absolute Deviation) normalization on the given data.

Usage

smad(data)

Arguments

data matrix or data.frame. Samples in columns. Variables/features in rows.

Details

If a data.frame is provided, a data.frame is returned, otherwise a matrix is returned.

Normalization consists of substracting the median and dividing by the MAD. I.e. this is location and scale normalization. After normalization, data is shifted by the pre-normalization sample median (over all sample) and re-scaled by the pre-normalization sample mad (over all samples).

Value

normed matrix or data.frame. Normalized data, of the same class as data

References

Dudoit S., Yang Y. H. (2002). Bioconductor R packages for exploratory analysis and normalization of cDNA microarray data. In G. Parmigiani, E. S. Garrett, R. A. Irizarry, and S. L. Zeger, editors, The Analysis of Gene Expression Data: Methods and Software. Springer, New York, 2002.

See Also

mad

Examples

new.data <- smad(data)

[Package StabPerf version 0.5 Index]