pathway.nodes {CePa}R Documentation

names of the pathway nodes

Description

names of the pathway nodes

Usage

pathway.nodes(pathway)

Arguments

pathway

an igraph object

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

Author(s)

Zuguang Gu <z.gu@dkfz.de>

Examples

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

[Package CePa version 0.8.0 Index]