scib_rapids.graph_connectivity#
- scib_rapids.graph_connectivity(X, labels)[source]#
Quantify the connectivity of the subgraph per cell type label.
- Parameters:
X (
NeighborsResults) – A NeighborsResults object.labels (
ndarray) – Array of shape (n_cells,) representing label values.
- Return type:
- Returns:
graph connectivity score