chmAddMenuItem | R Documentation |
Add a popup menu entry to a Next Generation Clustered Heat Map (NGCHM) and return the extended CHM.
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)
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. |
The extended chm.
ngchmMenuItem
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.