chmAddMenuItem-method: Add a menu entry to a NGCHM.

Description Usage Arguments Value See Also

Description

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

Usage

1
2
3
4
5
6
7
8
9
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-class


bmbroom/NGCHMR documentation built on Aug. 8, 2017, 5:17 p.m.