voyagerpy.spatial.get_default_graph#
- voyagerpy.spatial.get_default_graph(adata: AnnData) str#
Get the default graph for spatial operations. A shorthand for
adata.uns["spatial"]["default_graph"].- Parameters:
adata (AnnData) – The AnnData object to get the default graph for.
- Returns:
The name of the default graph. If none is set, return “connectivities”.
- Return type: