graphvelo.graph_velocity.GraphVelo.write_to_adata

GraphVelo.write_to_adata(adata, key=None)[source]

Write the learned phi coefficients (velocity projection basis) to the AnnData object.

Parameters:

adata: AnnData object where the phi matrix should be stored. key: The key under which the phi parameters will be saved in adata.

Defaults to ‘gv’ if not provided.