librarySize {PhIPData} | R Documentation |
This function is a wrapper function for colSums on the counts
assay.
librarySize(object, ..., withDimnames = TRUE)
object |
PhIPData object |
... |
arguments passed to colSums |
withDimnames |
logical; if true, the vector names are the sample names; otherwise the vector is unnamed. |
a named numeric vector. The length of the vector is equal to the number of samples.
example("PhIPData") librarySize(phip_obj) ## Return an unnamed vector librarySize(phip_obj, withDimnames = FALSE)