Skip to contents

Substracts the median and divides the data by the median absolute deviation (MAD). Log2-scaled data should be used as input (on_raw = FALSE).

Usage

medianAbsDevNorm(se, ain = "log2", aout = "MAD", on_raw = FALSE)

Arguments

se

SummarizedExperiment containing all necessary information of the proteomic dataset

ain

String which assay should be used as input

aout

String which assay should be used to save normalized data

on_raw

Boolean specifying whether normalization should be performed on raw or log2-scale data

Value

SummarizedExperiment containing the MAD normalized data as assay (on log2 scale)

Examples

data(tuberculosis_TMT_se)
tuberculosis_TMT_se <- medianAbsDevNorm(tuberculosis_TMT_se, ain = "log2",
                                              aout = "MAD", on_raw = FALSE)