matrix-summary: Form Row and Column Sums and Means

Description Usage Arguments Value See Also Examples

Description

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 method.

Usage

1
2
3
4
     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)

Arguments

x

a rectangular object, like a matrix or data frame

na.rm, dims

see colSums

Value

See ?base::colSums for the value returned by the default methods.

Specific methods defined in Bioconductor packages will typically return an object of the same class as the input object.

See Also

Examples

1
2
3
colSums
showMethods("colSums")
selectMethod("colSums", "ANY")  # the default method

nturaga/BiocGenerics documentation built on May 7, 2019, 11:15 a.m.