Closed Naadir-Ganief closed 1 month ago
Duplicate? https://support.bioconductor.org/p/9159835/
I'm not surprised that this fails. Not all GraphNELs nor igraphs are the same, so these chains of conversions are fraught with peril. Assuming the goal is creating the network in Cytoscape (given the final lines you shared), here are some shorter routes:
Hi,
below is the code i was trying, I tried both the graphNel and igraph objects, both return the same error : "Error in FUN(X[[i]], ...) : environments cannot be coerced to other types"
parsed.kgml <- KEGGlincs::get_KGML(pathwayid = pathIds[[1]], get_if_no_edges = F)
Thanks