Form Row and Column Sums and Means
Form row and column sums and means for rectangular objects..
NOTE: This man page is for the rowSums
, colSums
,
rowMeans
, and colMeans
S4 generic functions
defined in the BiocGenerics package.
See ?base::colSums
for the default methods
(defined in the base package).
Bioconductor packages can define specific methods for objects
(typically array-like) not supported by the default methods.
colSums (x, na.rm=FALSE, dims=1, ...) rowSums (x, na.rm=FALSE, dims=1, ...) colMeans(x, na.rm=FALSE, dims=1, ...) rowMeans(x, na.rm=FALSE, dims=1, ...)
x |
A rectangular object, like a matrix or data frame. |
na.rm, dims |
See |
... |
Additional arguments, for use in specific methods. |
See ?base::colSums
for the value returned by the
default methods.
base::colSums
for the default
colSums
, rowSums
, colMeans
,
and colSums
methods.
showMethods
for displaying a summary of the
methods defined for a given generic function.
selectMethod
for getting the definition of
a specific method.
colSums,DelayedMatrix-method in the
DelayedArray package for an example of a specific
colSums
method (defined for
DelayedMatrix objects).
BiocGenerics for a summary of all the generics defined in the BiocGenerics package.
colSums showMethods("colSums") selectMethod("colSums", "ANY") # the default method
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.