getClusterSimilarity#
Last Updated: Sep 07, 2023
Description#
Creates data.table with pairwise correlation scores between each cluster.
Usage#
getClusterSimilarity(
gobject,
spat_unit = NULL,
feat_type = NULL,
expression_values = c("normalized", "scaled", "custom"),
cluster_column,
cor = c("pearson", "spearman")
)
Arguments#
|
giotto object |
|
spatial unit |
|
feature type |
|
expression values to use |
|
name of column to use for clusters |
|
correlation score to calculate distance |
Details#
Creates data.table with pairwise correlation scores between each cluster and the group size (# of cells) for each cluster. This information can be used together with mergeClusters to combine very similar or small clusters into bigger clusters.
Value#
data.table