View source: R/summarisematrix.R
summarizeMatrix | R Documentation |
Note that the specified function will be applied to a tranformed version
of the matrix, so colMeans()
, for example, is appropriate.
summarizeMatrix(matrix, treatment_factor, summaryFunc = "colMeans")
matrix |
Numeric matrix |
treatment_factor |
a factor defining column groups |
summaryFunc |
A Function to apply to a transformed version of
|
Summarized matrix, with e.g. means in columns
summarizeMatrix(mymatrix, myfactor)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.