scFates.tl.slide_cors

scFates.tl.slide_cors(adata, root_milestone, milestones, genesetA=None, genesetB=None, perm=False, layer=None, copy=False)

Obtain gene module correlations in the non-intersecting windows along pseudotime.

Parameters
adata : AnnData

Annotated data matrix.

root_milestone

tip defining progenitor branch.

milestones : List

tips defining the progenies branches.

layer : str | NoneOptional[str] (default: None)

adata layer from which to compute the correlations.

copy : bool (default: False)

Return a copy instead of writing to adata.

Returns

adata – if copy=True it returns subsetted or else subset (keeping only significant features) and add fields to adata:

.uns[‘root_milestone->milestoneA<>milestoneB’][‘corAB’]

Dataframe containing gene-gene correlation modules.

Return type

anndata.AnnData