Open pchiang5 opened 2 years ago
That method isn't a static method, so the calling convention would be more like:
neighbors = sc.Neighbors(adata)
neighbors.compute_transitions()
transitions = neighbors.transitions
But what are you trying to do exactly?
Thank you.
Somehow I could not find the transition probability from the output of scanpy.tl.diffmap. Thus, I would like to extract it from the neighborhoodness. Together with the eigenvector and eigenvalue from the scanpy.tl.diffmap, they will be tried as the input for pseudotime analysis with URD. Are these 3 datasets equivalent to the output of diffusion map in the destiny package?
The inherent knn in URD was not used because I found the latent space from scVI output might represent the neighborhoodness better.
Are these 3 datasets equivalent to the output of diffusion map in the destiny package?
Given the same initial knn graph, that is my impression. @flying-sheep would be able to tell you for sure.
Hello,
I would like to derive the transition matrix with the following input:
The error below was produced. The anndata object was fine with sc.pp.neighbors(adata) and sc.tl.umap(adata) for UMAP plotting. Thanks
Versions