elpigraph.utils.getPseudotime

elpigraph.utils.getPseudotime(X, PG, source, target=None, nodes_to_include=None, project=True)[source]

Compute pseudotime given source: int

source node
target: int
optional target node
nodes_to_include: list
optional nodes to include in the path (useful for complex topologies with loops, where multiple paths are possible between 2 nodes)
project: bool
if False, will save computation time by using the projection already stored in PG dict (computed using elpigraph.utils.getProjection)