chmAddLayer-method: Add a Layer to a NGCHM.

chmAddLayerR Documentation

Add a Layer to a NGCHM.

Description

Add a Layer to a Next Generation Clustered Heat Map (NGCHM) and return the extended CHM. A CHM requires at least one Layer. The first layer added to a NGCHM becomes the primary layer. The second layer added to a NGCHM, if any, becomes the secondary (flicker) layer. Currently at most two layers can be added to a NGCHM.

Usage

chmAddLayer(chm, layer)

## S4 method for signature 'ngchm,ngchmLayer'
chmAddLayer(chm, layer)

## S4 method for signature 'ngchm,matrix'
chmAddLayer(chm, layer)

Arguments

chm

The chm to add the layer to.

layer

The layer to add to the chm.

Value

The extended chm.

See Also

chmNewDataLayer()

ngchmLayer


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