Measure pseudotime from the given cell to its cluster partners.
GetCellMetric(cell_order_by, cell_id, cluster_id, cluster_labels, dist_graph)
cell_order_by | cell-wise pseudotime parameter for measuring cluster/cell rank correlation |
---|---|
cell_id | the cell to measure from |
cluster_id | the cluster of the cell |
cluster_labels | the cluster label for each cell |
dist_graph | a distance matrix of cells embedded in a graph |
the mean distance (by given metric) from the given cell