setBioNetNodeLayout: Set up Layout for the igraph Object

Description Usage Arguments Value Author(s) Examples

View source: R/caOmicsV.bioNetCircos.R

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

1
    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

Author(s)

Henry Zhang

Examples

1
2
3
4
    data(bionetPlotDemoData)
    expr <- bionetPlotDemoData$heatmapData[[1]]
    bioNet <- bc3net(expr)
    setBioNetNodeLayout(bioNet, layout=layout.auto(bioNet)) 

caOmicsV documentation built on Nov. 8, 2020, 8:23 p.m.