TrajectoryΒΆ
Principal-curve and principal-tree trajectory inference and pseudotime.
Compute a smooth linear trajectory (t) in [0, 1] via principal graph fitted onto the given manifold (adata.obsm[use_rep]); Use optional marker to rotate the (+/-) sign of the trajectory s.t. |
|
Compute a tree-like trajectory via elastic principal graph fitted onto the given manifold (adata.obsm[use_rep]). |
|
Compute pseudotime (t) in [0, 1] along the given principal graph fitted onto the latent space (adata.obsm[use_rep]); Use optional marker to rotate the (+/-) sign of the trajectory at which the root_marker enriches |
|
Compute principal node ordering from root to term |
|
Remove unwanted tips by calling scf.tl.cleanup and return the node index mapping. |
|
Assign each cell to the closest principal graph edges |