Learn R Programming

CePa (version 0.8.1)

pathway.nodes: names of the pathway nodes

Description

names of the pathway nodes

Usage

pathway.nodes(pathway)

Arguments

pathway

an igraph object

Author

Zuguang Gu <z.gu@dkfz.de>

Details

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).

Examples

Run this code
interaction = rbind(c("a", "b"),
                    c("a", "c"))
g = generate.pathway(interaction)
pathway.nodes(g)

Run the code above in your browser using DataLab