dynamo.vf.assign_fixedpoints

dynamo.vf.assign_fixedpoints(adata, basis='pca', cores=1, copy=False)[source]

Assign each cell in our data to a fixed point.

Parameters:
  • adata (AnnData) – AnnData object that contains reconstructed vector field in the basis space.

  • basis (str) – The vector field function for the basis that will be used to assign fixed points for each cell.

  • cores (int) – Number of cores to run the fixed-point search for each cell.

  • copy (bool) – Whether to return a new deep copy of adata instead of updating adata object passed in arguments and returning None.

Returns:

Union[None, anndata.AnnData]

If copy is set to False, return None but the adata object will updated with a fps_assignment in .obs as well as the ‘fps_assignment_’ + basis in the .uns. If copy is set to True, a deep copy of the original adata object is returned.

Return type:

adata