chmAddSpecificAxisTypeFunction | R Documentation |
Adds a CHM-specific axis type function to a Next Generation Clustered Heat Map (NGCHM) and returns the extended CHM. Multiple axis type functions may be added to either axis. When the NGCHM is made, any specific Axis functions matching the specified axis type will be automatically added to the appropriate axis menu.
chmAddSpecificAxisTypeFunction(chm, where, type, label, func) ## S4 method for signature 'ngchm,character,character,character,ngchmJS' chmAddSpecificAxisTypeFunction(chm, where, type, label, func) ## S4 method for signature 'ngchm,character,character,character,character' chmAddSpecificAxisTypeFunction(chm, where, type, label, func)
chm |
The chm to add the axis type to. |
where |
The axis to add the axis type to. Must be either "row", "column", or "both". |
type |
The type expected by the specified function. |
label |
The label to use if and when the function is added to the menu. |
func |
A javascript function that accepts a list of values of that type. If a string is provided, the function is obtained by calling chmGetFunction. |
The extended chm.
chmListTypes()
ngchmAxisType
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.