chmAddMetaData {NGCHM} | R Documentation |
Add MetaData to NG-CHM
Description
This function adds metadata to a NG-CHM (Next-Generation Clustered Heat Map) object.
Usage
chmAddMetaData(chm, where, type, value)
## S4 method for signature 'ngchm,character,character,character'
chmAddMetaData(chm, where, type, value)
Arguments
chm |
An object of class 'ngchm'. |
where |
A single character string specifying where to add the metadata. Can be "row", "column", or "both". |
type |
A single character string specifying the type of the metadata. |
value |
A character vector specifying the values of the metadata. If value is a character vector, elements of the vector will be attached as meta data to to NGCHM row of the same name. |
Value
An updated 'ngchm' object with the new metadata added.
[Package NGCHM version 1.0.3 Index]