Description Usage Arguments Details Value See Also Examples
The consistency matrix is the N-by-N (for N cells) matrix where the entry in the
i-th row and j-th column describes the empirical probability that cell i is ordered
after cell j. These functions allow the calculation, ordering (by posterior pseudotime)
and plotting of the consistency matrix. See cluster_consistency
to cluster
the cells using Gaussian Mixture Modelling.
1 2 3 4 5 | plot_consistency(oui, cmo = NULL, interpolate = FALSE)
consistency_matrix(oui)
consistency_matrix_ordered(oui, cmat = NULL)
|
oui |
A |
cmo |
An optional ordered consistency matrix |
interpolate |
Passed to |
cmat |
A pre-computed consistency matrix returned by |
The consistency matrix is useful for clustering the pseudotime trajectory into discrete stages, as if there are regions where the empirical ordering probability is around 0.5 then there is large uncertainty as to the ordering, implying the cells are of roughly the same type. If the probability is closer to 0 or 1 then there is less uncertainty and the cells are probably undergoing a smooth transition.
A cell-by-cell consistency matrix (ordered by posterior pseudotime
if consistency_matrix_ordered
), or a ggplot2
plot object
displaying the ordered consistency matrix (if plot_consistency_matrix
)
cluster_consistency
1 2 3 4 5 | data(oui)
plot_consistency(oui)
cmat <- consistency_matrix(oui)
cmo <- consistency_matrix_ordered(oui, cmat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.