normalize: Normalization of biological samples by summar measure of...

Description Usage Arguments Value

View source: R/normalize.R

Description

Within each experimental unit (run), biological observations to be used for model fitting (sampleID, unspiked) are normalized by means or medians of negative control observations from the same experimemntal unit

Usage

1
normalize(DATINT, normfun = "median", normop = "logdiff")

Arguments

DATINT

a data.frame as can be obtained by using adapcheckdatainput

normfun

name of the function to use for summarizing negative controls within each experimental runs current options: "mean", "median"

normop

character string naming options for normalizing biological samples (sampleID): current options: "logdiff": natural log of the data and substract normfun of negative controls at log-scale, "diff": substract normfun of negative controls, "ratio": devide by normfun of negative controls.

Value

a list with

NORMDAT

a data.frame containing the original data as well as the normalized values

NORMINFO

character string to be used as description in the GUI


schaarschmidt/mixADA documentation built on May 29, 2019, 3:25 p.m.