This function computes the mean for each column in an input matrix. See the Details section below for further information.
Arguments
- x
a numerical matrix features-by-samples
- na.rm
logical, whether to remove
NAvalues fromxbefore computation- rows
(optional) numerical vector giving the rows in
xor character vector matching the row names inxto operate over. Ifmissingorrows = NULL, all the rows inxare considered for the computation of the measures- ...
further arguments to
colMeans2
Details
It is a wrapper to colMeans2
function.