dot-rowNorm: Row-normalization procedure on matrix or data.frame 'dat'

.rowNormR Documentation

Row-normalization procedure on matrix or data.frame 'dat'

Description

This function was performs a row-normalization procedure on matrix or data.frame 'dat'

Usage

.rowNorm(
  dat,
  refLi,
  method,
  proportMode,
  maxFact = 10,
  fact0val = 10,
  retFact = FALSE,
  callFrom = NULL,
  debug = FALSE,
  silent = FALSE
)

Arguments

dat

(matrix) .. init data, smay be parse matrix with numerous NA

refLi

(NULL or numeric) allows to consider only specific lines of 'dat' when determining normalization factors (all data will be normalized)

method

(character) may be "mean","median" (plus "NULL","none"); When NULL or 'none' is chosen the input will be returned as is

proportMode

(logical) decide if normalization should be done by multiplicative or additive factor

maxFact

(numeric, length=2) max normalization factor

fact0val

(integer)

retFact

(logical)

callFrom

(character) This function allows easier tracking of messages produced

debug

(logical) additional messages for debugging

silent

(logical) suppress messages

Value

This function returns a matrix of normalized data same dimensions as 'dat'

See Also

rowNormalize

Examples

.rowNorm(matrix(11:31, ncol=3), refLi=1, method="mean", proportMode=TRUE)

wrMisc documentation built on Nov. 17, 2023, 5:09 p.m.