get.cell.dists {cellTree} | R Documentation |
Computes the pairwise distance between cells, based on the topic histograms form a fitted LDA model.
get.cell.dists(lda.results)
lda.results |
A fitted LDA model, as returned by |
Distances between histograms are computed using the Chi-square distance
A square matrix of pairwise distance between cells in the input model.
# Load pre-computed LDA model for skeletal myoblast RNA-Seq data from HSMMSingleCell package: data(HSMM_lda_model) # Compute cell pairwise distances: b.tree = get.cell.dists(HSMM_lda_model)