Learn R Programming

wrMisc (version 1.15.3.1)

.normConstSlope: 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
)

Value

This function returns a numeric vector

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

See Also

normalizeThis

Examples

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

Run the code above in your browser using DataLab