pathway.nodes: names of the pathway nodes

View source: R/pathway.R

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

CePa documentation built on June 12, 2022, 1:05 a.m.