"edgeType"
attribute of edgeData
. The result contains only the edge types present in the graph. If the edgeData
do not contain this attribute, then "process(indirect effect)"
is used in order to preserve directionality.
graphNEL2Pathway(graph, name = "pathway", ident = "unknown", database = "unknown", species = "unknown", date = NULL)
graphNEL
object to be coerced.
"pathway"
"gene symbol"
Pathway
pathway<-pathways("hsapiens","kegg")[[1]]
pathway<-pathwayGraph(pathway)
pathway
graphNEL2Pathway(pathway)
set.seed(123)
rg <- randomEGraph(LETTERS[1:20], edges = 30)
p<-graphNEL2Pathway(rg)
p
head(edges(p))
Run the code above in your browser using DataLab