stereo.algorithm.spa_track.SpaTrack.get_ptime

SpaTrack.get_ptime()[source]

Get the cell pseudotime based on transition probabilities from initial cells.

The pseudotime stored with the key ptime in data.cells or data.adata.obs.