Register a predefined Javascript function for use in NGCHM Matrix menus.
Source:R/functions.R
chmRegisterMatrixFunction.Rd
This function registers a Javascript function that will be automatically added to the matrix menu when building a Next Generation Clustered Heat Map for matrices whose rows and columns match then function's axes types. This function is intended for use by NGCHM system developers.
Arguments
- rowtype
A character vector specifying the row type(s) of the matrix function.
- columntype
A character vector specifying the column type(s) of the matrix function.
- label
A single character string specifying the label of the matrix function.
- fn
The function to be registered. This can be either a function or a character string representing the name of a function.