You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for your great work in developing such a wonderful pipeline for analyzing scATAC-seq.
When using it from my own experience, I noticed that in the runEigDecomp function under https://rdrr.io/github/r3fang/SnapATAC/src/R/utilities.R. The transitions <- as.matrix(d_rot1 %*% norm_p1 %*% d_rot1); may generate NaNs which hinders the calculation on obj@smat@sdev. This can result in an incorrect diffusion map.
I wonder if I can simply replace those NaNs as 0s? Thank you in advance!
The text was updated successfully, but these errors were encountered:
marvinquiet
changed the title
runEigDecomp and runDiffusionMapsExtension function result in NaN
runEigDecomp function results in NaN
Oct 22, 2021
Thank you for your great work in developing such a wonderful pipeline for analyzing scATAC-seq.
When using it from my own experience, I noticed that in the runEigDecomp function under https://rdrr.io/github/r3fang/SnapATAC/src/R/utilities.R. The
transitions <- as.matrix(d_rot1 %*% norm_p1 %*% d_rot1);
may generate NaNs which hinders the calculation onobj@smat@sdev
. This can result in an incorrect diffusion map.I wonder if I can simply replace those NaNs as 0s? Thank you in advance!
The text was updated successfully, but these errors were encountered: