scale_normalize: Normalize data by median value or mean value

Description Usage Arguments Value

View source: R/normalize.R

Description

Normalize data by median value or mean value

Usage

1
scale_normalize(data_matrix, method = c("median-MAD", "zscore"))

Arguments

data_matrix

The data matrix with column in sample and row in feature

method

The normalization method:

median-MAD

median-centering followed by median absolute deviation (MAD) scaling

zscore

mean-centering followed by standard deviation scaling

Value

return data matrix after normalize


Moonerss/ProteinBase documentation built on Dec. 17, 2021, 4:21 a.m.