dot-normConstSlope: Normalize columns of 2dim matrix to common linear regression...

.normConstSlopeR Documentation

Normalize columns of 2dim matrix to common linear regression fit

Description

This function aims to normalize columns of 2dim matrix to common linear regression fit within range of 'useQuant'

Usage

.normConstSlope(
  mat,
  useQuant = c(0.2, 0.8),
  refLines = NULL,
  diagPlot = TRUE,
  plotLog = "",
  datName = NULL,
  silent = FALSE,
  debug = FALSE,
  callFrom = NULL
)

Arguments

mat

matrix or data.frame of data to get normalized

useQuant

(numeric) quantiles to use

refLines

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

diagPlot

(logical) draw diagnistic plot

plotLog

(character) indicate which axis shousl be diplayed on log-scale, may be 'x', 'xy' or 'y'

datName

(character) use as title in diag plot

silent

(logical) suppress messages

debug

(logical) additional messages for debugging

callFrom

(character) allows easier tracking of messages produced

Value

This function returns a numeric vector

See Also

normalizeThis

Examples

aa <- matrix(1:12, ncol=3)

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