Description Usage Arguments Value
translateMatrixIdentifiers
translates the column and row identifers based on a translation table. This may drop and/or duplicate columns and rows.
1 2 | translateMatrixIdentifiers(matrix, translationTable, agg.fun = "mean",
debug = FALSE)
|
matrix |
A symmetric matrix |
translationTable |
A data.frame that maps from names in column 'from' to names in column 'to' |
agg.fun |
A string name of a function that will be used to aggregrate multiple columns (from) into a single column (to). Currently: mean, min, or max. |
A symmetric matrix with columns and rows translated (including dropped or duplicated) according to the translationTable.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.