View source: R/auxiliary_visuals.R
decide_cluster_order | R Documentation |
creates order for clusters
decide_cluster_order(
gobject,
spat_unit = NULL,
feat_type = NULL,
expression_values = c("normalized", "scaled", "custom"),
feats,
genes = NULL,
cluster_column = NULL,
cluster_order = c("size", "correlation", "custom"),
cluster_custom_order = NULL,
cor_method = "pearson",
hclust_method = "ward.D"
)
gobject |
giotto object |
spat_unit |
spatial unit (e.g. "cell") |
feat_type |
feature type (e.g. "rna", "dna", "protein") |
expression_values |
expression values to use (e.g. "normalized", "scaled", "custom") |
feats |
features to use (e.g. genes) |
genes |
deprecated, use feats |
cluster_column |
name of column to use for clusters (e.g. "leiden_clus") |
cluster_order |
method to determine cluster order (e.g. "size", "correlation", "custom") |
cluster_custom_order |
custom order for clusters |
cor_method |
method for correlation, default to 'pearson' |
hclust_method |
method for hierarchical clustering, default to 'ward.D' |
Calculates order for clusters.
custom
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.