estimateSizeFactorsForMatrix {NormExpression} | R Documentation |
estimateSizeFactorsForMatrix
Description
Please refer to the file /inst/doc/readme.pdf.
Usage
estimateSizeFactorsForMatrix(data, p = p)
Arguments
data |
Please refer to the file /inst/doc/readme.pdf. |
p |
Please refer to the file /inst/doc/readme.pdf. |
Examples
##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
function (data, p = p)
{
loggeomeans <- rowMeans(.log(data), na.rm = TRUE)
apply(data, 2, function(cnts) exp(quantile(.log(cnts) - loggeomeans,
na.rm = TRUE, p = p)))
}
[Package NormExpression version 0.1.1 Index]