View source: R/required_scripts.R
dend_to_list | R Documentation |
Converts an R dendrogram to a list format. This step is necessary for outputting a dendrogram in json format. NOTE: If this function crashes, the "omit_names" variable may need to be updated to exclude additional variables in dend.
dend_to_list(dend, omit_names = c("markers", "markers.byCl", "class"))
dend |
any R dendrogram of annotated cell types |
omit_names |
character vector of attributes to exclude from the conversion to list format. This is necessary because attributes in complex formats sometimes cannot be properly converted without the function crashing |
The R dendgram information in list format, with all but the omitted attributes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.