Description Usage Arguments Details Value See Also
Get feature sub-matrices collapsed.
1 2 3 4 5 6 7 | ERTMonCollapseFeatureMatrices(
ertObj,
matrixNames = NULL,
entityIDs = NULL,
collapseFunction = colSums,
completeColumnRangeQ = FALSE
)
|
ertObj |
An ERTMon object. |
matrixNames |
A character vector with names of feature sub-matrices to be collapsed. If NULL then all feature sub-matrices are collapsed. |
entityIDs |
A character vector with entity ID's (that feature sub-matrices row names.) If NULL then all entity ID's are used. |
collapseFunction |
A function that can be applied to a sparse matrix. |
completeColumnRangeQ |
See |
Collapses specified feature sub-matrices with a specified function.
The collapse function can be one of rowSums, rowMeans, colSums, colMeans
or any other function that can be applied.
The obtained list of collapsed matrices is assigned to ertObj$Value
.
This function is fairly simple – it was programmed in order to have
the corresponding operation explicitly named in formula computation workflows.
An ERTMon object.
Other Feature matrices:
ERTMonPlotFeatureMatrices()
,
ERTMonStackFeatureMatrices()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.