swnn.set_precomputed_neighbors

swnn.set_precomputed_neighbors(adata, distances, connectivities, n_neighbors=15, metric='cosine', method='umap', metric_kwds=None, use_rep=None, n_pcs=None, key_added=None)