chmAddMetaData-method: Add MetaData to NG-CHM

chmAddMetaDataR 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.


MD-Anderson-Bioinformatics/NGCHM-R documentation built on April 1, 2024, 12:34 p.m.