squidpy.gr.neighbors.GridBuilder.build_graph

GridBuilder.build_graph(coords)[source]

Construct raw adjacency and distance matrices.

Return type:

tuple[csr_matrix, csr_matrix]