Open qiuhuiqq opened 4 years ago
Without having run this myself and looked in detail, the first thing that jumps out at me is that Seurat does not use the sqrt transformation. What do the results look like for the two different PHATE plots? If you apply a log transform in the second version in place of the sqrt transform, what does it look like then?
@qiuhuiqq Did you feed the PCA matrix to PHATE instead of the raw count matrix? When i did it in my end, i could retrieve pretty close results compared to RunPHATE.
Hi, I recently tried to run the EB differentiation PHATE tutorial. The tutorial is run in python, but I am more used to R, so I tried to run using RunPHATE() function implemented in seurat ( https://github.com/scottgigante/seurat/tree/patch/add-PHATE-again ). But the resulting plot looks nothing like expected: 2.EB_differentiation_UMAP_tSNE_PHATE_compare.pdf
However, when I tried to run the same tutorial manually (not using seurat), the result is comparable to expected outcome: 3.EB_diff_manually_PHATE.pdf
I think this is caused by scaling in seurat, but I don't how to fix this issue. Any suggestions?
Here is my code using RunPHATE() in seurat (which did not produce correct result):
And here is my code to run PHATE manually: