powered by
names of the pathway nodes
pathway.nodes(pathway)
an igraph object
igraph
Zuguang Gu <z.gu@dkfz.de>
If nodes in the pathway have names, then it returns a vector of nodes names. If nodes in the pathway have no name, it just returns the index of nodes (start from 1, after igraph version 0.6).
interaction = rbind(c("a", "b"), c("a", "c")) g = generate.pathway(interaction) pathway.nodes(g)
Run the code above in your browser using DataLab