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)

jokergoo/CePa documentation built on July 2, 2021, 10:28 p.m.