Raise a warning when dist_slot "corr_dist" is empty and compute a distance matrix
Remove use_reduction and reduction_slot as parameters, since those are relevant to distance matrices, which should already be supplied. If users don't have a distance matrix, then default parameters are used anyways to compute them.
Remove "n_pcs" from the sil_df
dist_slot : default: "corr_dist"
Slot in adata.obsp where a pre-generated distance matrix computed across
all cells is stored in adata for use in construction of NN. If
no matrix in "corr_dist", the distance matrix will be automatically
computed as a correlation distance and stored in "corr_dist".
Raise a warning when dist_slot "corr_dist" is empty and compute a distance matrix
Remove use_reduction and reduction_slot as parameters, since those are relevant to distance matrices, which should already be supplied. If users don't have a distance matrix, then default parameters are used anyways to compute them.
Remove "n_pcs" from the sil_df
dist_slot : default: "corr_dist"
Slot in adata.obsp where a pre-generated distance matrix computed across
all cells is stored in adata for use in construction of NN. If
no matrix in "corr_dist", the distance matrix will be automatically
computed as a correlation distance and stored in "corr_dist".