estimateSizeFactorsForMatrix function

estimateSizeFactorsForMatrix

estimateSizeFactorsForMatrix

Please refer to the file /inst/doc/readme.pdf.

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))) }
  • Maintainer: Shan Gao
  • License: Artistic-2.0
  • Last published: 2024-03-20

Useful links