passthroughNodeOrder: Pass-through layout function for BioFabric

Description Usage Arguments Details Value Author(s) Examples

View source: R/bioFabric.R

Description

Does nothing

Usage

1

Arguments

inGraph

The graph to order, in igraph format (see igraph). Node names MUST already be set using the vertex attribute "name".

Details

Returns the provided graph with no changes. Use this function if you are providing a graph to bioFabric that is already node-ordered, so no reordering will occur.

Value

The provided graph with no reordering.

Author(s)

Bill Longabaugh <wlongabaugh@systemsbiology.org>

Examples

1
2
3
4
5
6
7
8
## Not run: 
library(igraph)
bfGraph = graph.tree(20, children=2, mode="out")
bfGraph <- autoNameForFabric(bfGraph)
bfGraph <- defaultNodeOrder(bfGraph)
bioFabric(bfGraph, orderFunc=passthroughNodeOrder)

## End(Not run)

wjrl/RBioFabric documentation built on May 4, 2019, 7:34 a.m.