showClusterDendrogram
¶
showClusterDendrogram
Description¶
Creates dendrogram for selected clusters.
Usage¶
showClusterDendrogram(
gobject,
spat_unit = NULL,
feat_type = NULL,
expression_values = c("normalized", "scaled", "custom"),
cluster_column,
cor = c("pearson", "spearman"),
distance = "ward.D",
h = NULL,
h_color = "red",
rotate = FALSE,
show_plot = NA,
return_plot = NA,
save_plot = NA,
save_param = list(),
default_save_name = "showClusterDendrogram",
...
)
Arguments¶
Argument |
Description |
---|---|
|
giotto object |
|
spatial unit |
|
feature type |
|
expression values to use |
|
name of column to use for clusters |
|
correlation score to calculate distance |
|
distance method to use for hierarchical clustering |
|
height of horizontal lines to plot |
|
color of horizontal lines |
|
rotate dendrogram 90 degrees |
|
show plot |
|
return ggplot object |
|
directly save the plot [boolean] |
|
list of saving parameters, see ``showSaveParameters` <#showsaveparameters>`_ |
|
default save name for saving, don’t change, change save_name in save_param |
|
additional parameters for ggdendrogram() |
Details¶
Expression correlation dendrogram for selected clusters.
Value¶
ggplot