estimateSizeFactorsForMatrix | R Documentation |
Please refer to the file /inst/doc/readme.pdf.
estimateSizeFactorsForMatrix(data, p = p)
data |
Please refer to the file /inst/doc/readme.pdf. |
p |
Please refer to the file /inst/doc/readme.pdf. |
##---- 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)))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.