normZ: Normalization by Z score method

View source: R/normZ.R

normZR Documentation

Normalization by Z score method

Description

Apply Z score to data

Usage

normZ(dataMatrix, dataRows = NULL, dataCols = NULL)

Arguments

dataMatrix

Data frame or numeric matrix. Columns are plates, and rows are plate wells.

dataRows, dataCols

Optional integer vector. Indicate which row/column numbers from the dataMatrix should be normalized. If NULL then all rows/columns from the dataMatrix are used.

Details

Z score normalization subtracts the mean of the raw well intensities of a given plate from the signal intensity of a given compound and divides it by the standard deviation of the raw well intensities of that plate.

Value

Numeric matrix of normalized data in the same format as dataMatrix

Note

For information on how to arrange your dataset for dataMatrix, please see (ex_dataMatrix)

See Also

Other normalization methods: normLoess, normMedFil, normRobZ, normR, normSPAWN

Examples

## load dataset
data(ex_dataMatrix)

## apply Z score
ex_normMatrix <- normZ(dataMatrix = ex_dataMatrix, dataCols = 5:10)


eg-r/sights documentation built on Jan. 28, 2023, 12:17 a.m.