Learn R Programming

caOmicsV (version 1.2.0)

setBioNetNodeLayout: Set up Layout for the igraph Object

Description

Set up node layout on a biological network. The layout is taken from an igraph layout and scaled to allocate circos plot area for each node.

Usage

setBioNetNodeLayout(bioNet, layout=layout.auto(bioNet))

Arguments

bioNet
an igraph object for which layout will be set
layout
layout object from layout method of igraph package

Value

None

Examples

Run this code
    data(bionetPlotDemoData)
    expr <- bionetPlotDemoData$heatmapData[[1]]
    bioNet <- bc3net(expr)
    setBioNetNodeLayout(bioNet, layout=layout.auto(bioNet)) 

Run the code above in your browser using DataLab