Skip to content

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

@giyuu28

Description

@giyuu28

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions