Graph

Graph#

gr.aggregate_neighbors(adata, n_layers[, ...])

Aggregate the features from each neighborhood layers and concatenate them

gr.get_adj(adata[, mode, k_neighbors, ...])

Calculate adjacency matrix for ST data.

gr.spatial_neighbors(adata, sample_key, ...)

Compute spatial neighbor graph for an AnnData object.

gr._save_data(adata, attr, key, data)

Save data into a specified attribute of an AnnData object.