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
NA
values fromx
before computation- rows
(optional) numerical vector giving the rows in
x
or character vector matching the row names inx
to operate over. Ifmissing
orrows = NULL
, all the rows inx
are considered for the computation of the measures- ...
further arguments to
colMeans2
Details
It is a wrapper to colMeans2
function.