At the part where I need to compute neighborhood graph and Leiden clustering
I get that error message. How can I fix this problem?
Sorry for the late response, but if this is still the case I would recommend doing as the error message says, for example:
sc.pp.pca(adata, n_comps=50
In the future, please provide a bit more context to your question, or else it will be difficult to help.