Skip to contents

This function applies log2 transformation to the peak area in the feature data of the mmo object. Run ReplaceZero() before this function to avoid -Inf values.

Usage

LogNormalization(mmo, imputed_data = FALSE)

Arguments

mmo

The mmo object

imputed_data

Whether to use imputed feature data (default = FALSE)

Value

The mmo object with log-normalized feature data (mmo$log)

Examples

if (FALSE) {
mmo <- LogNormalization(mmo)
}