Infer clustering tree from pre-generated clusters
inferTree.Rd
Generate clustering tree from provided, pre-generated clusters. Provide a set of cluster labels and either a dimensionality reduction or distance matrix. If a dimensionality reduction is provided, centroid distances will be calculated and used.
Arguments
- cluster_labels
A named vector of cluster IDs. Names must correspond to cell IDs.
- dist_matrix
An optional distance matrix of cell to cell distances (based on dimensionality reduction cell embeddings).
- reduction
An optional matrix of dimensionality reduction cell embeddings to be used for distance calculations.
- verbose
A Boolean value indicating whether to use verbose output during the execution of this function. Can be set to
FALSE
for a cleaner output.