Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to solve the problem when Compute the Diffusion Map cell embedding #13

Open
giyuu28 opened this issue Jul 26, 2024 · 0 comments
Open

Comments

@giyuu28
Copy link

giyuu28 commented Jul 26, 2024

I tried to Compute the Diffusion Map cell embedding but there is an error:

pbmc <- GeneTrajectory::RunDM(pbmc)
Error in sequence.default(n..1, from = seq.int(s.1, length(df), s.1), :
'from' contains NAs
In addition: Warning message:
In sequence.default(n..1, from = seq.int(s.1, length(df), s.1), :
NAs introduced by coercion to integer range
traceback()
4: sequence.default(n..1, from = seq.int(s.1, length(df), s.1),
by = size)
3: as.matrix.dist(dist(data.S@reductions[[reduction]]@cell.embeddings[,
dims]))
2: as.matrix(dist(data.S@reductions[[reduction]]@cell.embeddings[,
dims]))
1: GeneTrajectory::RunDM(pbmc)
What should I do to solve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant