Closed aditisk closed 3 years ago
It seems you've got some sort of version incompatibility going on - .uns['neighbors']['connectivities']
used to be where you put your graph back in the day, but it's now .obsp['connectivities']
. Try upgrading scanpy and see if that helps?
Hello,
I'm following the tutorial which integrates with Scanpy. I was able to successfully run this line of code:
sc.external.pp.bbknn(adata, batch_key='sample_id',metric='euclidean')
In the next step I get this error:
sc.tl.umap(adata)
computing UMAPKeyError Traceback (most recent call last)