Learn R Programming

DAPAR (version 1.4.7)

normalizeD: Normalisation

Description

Provides several methods to normalize data from a matrix. They are organized in four main families : Strong Rescaling, Median Centering, Mean Centering, Mean CenteringScaling. For the first family, two sub-categories are available : the sum by columns and the quantiles method. For the three other families, two categories are available : "Overall" which means that the value for each protein (ie line in the expression data tab) is computed over all the samples ; "within conditions" which means that the value for each protein (ie line in the matrix) is computed condition by condition.

Usage

normalizeD(qData, labels, family, method)

Arguments

qData
A dataframe that contains quantitative data.
labels
A vector of strings containing the column "Label" of the pData().
family
One of the following : Global Rescaling, Median Centering, Mean Centering, Mean Centering Scaling.
method
"Overall" or "within conditions".

Value

A matrix normalized

Examples

Run this code
data(UPSpep25)
qData <- Biobase::exprs(UPSpep25)
labels <- Biobase::pData(UPSpep25)[,"Label"]
normalizeD(qData, labels, "Median Centering", "within conditions")

Run the code above in your browser using DataLab