Skip to content

Error in graph(milo_graph) : 'edges' must be numeric or character #3

@YubinXie

Description

@YubinXie

I am running the Python scanpy notebook for MILO and got some error in the follwing codes:

%%R -i knn_adjacency
milo_graph <- buildFromAdjacency(knn_adjacency, k=20, is.binary=TRUE)
graph(milo) <- graph(milo_graph)

It says:

Error in graph(milo_graph) : 'edges' must be numeric or character

I noticed that this part is replaced by the following codes. Maybe it is good to remove it from the notebook.

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