This function computes the trimmed mean for each column in an input matrix. See the Details section below for further information.
Arguments
- x
a numerical matrix features-by-samples
- trim
the fraction (0 to 0.5) of observations to be trimmed from each end of
xbefore the mean is computed. Values of trim outside that range are taken as the nearest endpoint.- 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- na.rm
logical, whether to remove
NAvalues fromxbefore computation- ...
further arguments to
trimmedMean
Details
This function applies trimmedMean
to each column of the input matrix.