chmLayer: Get a specified Data Layer from an NG-CHM.

chmLayerR Documentation

Get a specified Data Layer from an NG-CHM.

Description

This function returns a Data Layer contained in a Next Generation Clustered Heat Map.

Usage

chmLayer(hm, label)

Arguments

hm

The NG-CHM object to get the data layer from.

label

The name or index of the data layer to get. If a name, return the layer with that name. If no layer with that name exists or if the index is out of range, return NULL.

Value

An object of class ngchmLayer or NULL.

See Also

ngchmLayer

Examples

layer <- chmLayer (hm, "Layer 1")
layer <- chmLayer (hm, 1)


bmbroom/NGCHMR documentation built on April 18, 2022, 6:52 p.m.