chmAddMenuItem {NGCHM}R Documentation

Add a menu entry to a NGCHM.

Description

Add a popup menu entry to a Next Generation Clustered Heat Map (NGCHM) and return the extended CHM.

Usage

chmAddMenuItem(chm, where, label, func)

## S4 method for signature 'ngchm,character,character,ngchmJS'
chmAddMenuItem(chm, where, label, func)

## S4 method for signature 'ngchm,character,character,character'
chmAddMenuItem(chm, where, label, func)

Arguments

chm

The chm to add the menu entry to.

where

The chm menu(s) to add the menu entry to. Must be one of "row", "column", "both", or "element".

label

The label to display in the menu entry.

func

The javascript function to invoke when the menu entry is selected.

Value

The extended chm.

See Also

ngchmMenuItem


[Package NGCHM version 1.0.3 Index]