Learn R Programming

cn.farms (version 1.20.0)

normalizeAverage: Scales the range of the non-polymorphic data to the range of a given array.

Description

Scales the range of the non-polymorphic data to the range of a given array.

Usage

normalizeAverage(x, baselineArray, avg = median, targetAvg = 2200, ...)

Arguments

x
Data matrix
baselineArray
Choose the baseline channel array.
avg
The function for averaging.
targetAvg
Value to which the array should be averaged.
...
Further optional parameters.

Value

Normalized non-polymorphic data.

Examples

Run this code
x <- matrix(rnorm(100, 11), 20, 5)
normalizeAverage(x, x[, 1])

Run the code above in your browser using DataLab