SCA-IRCM / SingleCellSignalR

R package for Bioconductor submission
30 stars 12 forks source link

Error in as.igraph.vs(graph, from) : Invalid vertex names #9

Open jmlim2 opened 3 years ago

jmlim2 commented 3 years ago

I am using Seurat object. When I run this code, intra_network(goi = "VTN", data = g41.data, genes = g41.genes, cluster = g41.cluster, write = FALSE, plot = FALSE, species = c("homo sapiens"), coi = "cluster 2") I got this: Error in as.igraph.vs(graph, from) : Invalid vertex names

This does not happen when I run same code except for different goi. Any idea of what to do?

mcap91 commented 3 years ago

Any update on this? I am getting the same error with most goi

mcap91 commented 3 years ago

I tested this out with both the example_data and example_mouse_data. There was no issue with the human data but the mouse data gave the error even with species = c("homo sapiens"). I converted the moue genes to human prior to analysis and ran it (with default i.e. HUGO) and it worked.