.normConstSlope {wrMisc} | R 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
Examples
aa <- matrix(1:12, ncol=3)
[Package wrMisc version 1.15.1 Index]