View source: R/other_functions.R
| updateAndOrderClusters | R Documentation |
See renameAndOrderClusters in library(scrattch.hicat)
updateAndOrderClusters(sampleInfo,
classNameColumn = "cluster_type_label",
layerNameColumn = "layer_label", matchNameColumn = "cellmap_label",
regionNameColumn = "Region_label",
newColorNameColumn = "cellmap_color", otherColumns = NULL,
topGenes = NULL, classLevels = c("inh", "exc", "glia"),
getLayer = function(x) return(as.numeric(substr(as.character(x), 2,
2))), sep = "_")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.