scFates.tl.unroll_circle

scFates.tl.unroll_circle(adata, copy=False)

Unroll circle to get full spectrum of pseudotime values along it.

Parameters
adata : AnnData

Annotated data matrix.

copy : bool (default: False)

Return a copy instead of writing to adata.

Returns

adata – if copy=True it returns or else update fields to adata:

.obs[‘t’]

assigned pseudotime value.

.obs[‘seg’]

assigned segment of the tree.

.obs[‘milestone’]

assigned region surrounding forks and tips.

.uns[‘graph’][‘pp_seg’]

segments network information.

.uns[‘graph’][‘pp_info’]

for each PP, its distance vs root and segment assignment.

Return type

anndata.AnnData