translateMatrixIdentifiers: translateMatrixIdentifiers

Description Usage Arguments Value

Description

translateMatrixIdentifiers translates the column and row identifers based on a translation table. This may drop and/or duplicate columns and rows.

Usage

1
2
translateMatrixIdentifiers(matrix, translationTable, agg.fun = "mean",
  debug = FALSE)

Arguments

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.

Value

A symmetric matrix with columns and rows translated (including dropped or duplicated) according to the translationTable.


Sage-Bionetworks/fendR documentation built on May 3, 2019, 8:34 p.m.