GetCellMetric: Get metric of pseudotime

View source: R/FindRootCell.R

GetCellMetricR Documentation

Get metric of pseudotime

Description

Measure pseudotime from the given cell to its cluster partners.

Usage

GetCellMetric(cell_order_by, cell_id, cluster_id, cluster_labels, dist_graph)

Arguments

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

Value

the mean distance (by given metric) from the given cell


mkarikom/RSoptSC documentation built on May 10, 2023, 1:10 a.m.