pathway.nodes: names of the pathway nodes

Description Usage Arguments Details Author(s) Examples

View source: R/pathway.R

Description

names of the pathway nodes

Usage

1
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

1
2
3
4
interaction = rbind(c("a", "b"),
                    c("a", "c"))
g = generate.pathway(interaction)
pathway.nodes(g)

CePa documentation built on March 26, 2020, 6:24 p.m.