scanpy.pp.NeighborsResult#
- class scanpy.pp.NeighborsResult[T = csr_matrix | csr_array](connectivities, distances)[source]#
Bases:
NamedTupleOutputs of
neighbors()andbbknn().Attributes
Weighted adjacency matrix of the neighborhood graph.
Distances to each observation’s nearest neighbors.