Get the smallest pathway

Share:

Description

Find the pathway with the fewer number of nodes among a list of pathways. This simple function is an example of how to navigate the genes on a list of pathways.

Usage

1
smallest_pathway(pathways)

Arguments

pathways

A list of graph::graphNEL objects.

Value

The index of the pathway with fewer number of nodes.

Author(s)

Diana Diaz <dmd at wayne dot edu>

Examples

1
2
3