The Neighbor class is used to store the results of neighbor finding algorithms
nn.idx
Matrix containing the nearest neighbor indices
nn.dist
Matrix containing the nearest neighbor distances
alg.idx
The neighbor finding index (if applicable). E.g. the annoy index
alg.info
Any information associated with the algorithm that may be needed downstream (e.g. distance metric used with annoy is needed when reading in from stored file).
cell.names
Names of the cells for which the neighbors have been computed.