Usage
"cpm"(x, normalized.lib.sizes=TRUE, log=FALSE, prior.count=0.25, ...)
"cpm"(x, lib.size=NULL, log=FALSE, prior.count=0.25, ...)
"rpkm"(x, gene.length=NULL, normalized.lib.sizes=TRUE, log=FALSE, prior.count=0.25, ...)
"rpkm"(x, gene.length, lib.size=NULL, log=FALSE, prior.count=0.25, ...)
Arguments
x
matrix of counts or a DGEList object
normalized.lib.sizes
logical, use normalized library sizes?
lib.size
library size, defaults to colSums(x).
log
logical, if TRUE then log2 values are returned.
prior.count
average count to be added to each observation to avoid taking log of zero. Used only if log=TRUE.
gene.length
vector of length nrow(x) giving gene length in bases, or the name of the column x$genes containing the gene lengths.
...
other arguments that are not currently used.