linkBioNetNodes {caOmicsV} | R Documentation

## Draw A Customized Arrow between Two Nodes

### Description

Plot a customized arrow between two nodes to replace the edge. bioNetCorcos layout must be initialized first.

### Usage

        linkBioNetNodes(fromNode, toNode, lineColor = "black", arrowSize = 1)

### Arguments

`fromNode` | non negative integer, the start node to be linked
`toNode` | non negative integer, the end node to be linked
`lineColor` | character vector, color of the arrow
`arrowSize` | non-negative numeric, scaling factor for arrow size, default 1

### Value

None

### Author(s)

Henry Zhang

### Examples

        data(bionetPlotDemoData)
        expr <- bionetPlotDemoData$heatmapData[[1]]

        bioNet <- bc3net(expr)
        initializeBioNetCircos(bioNet)
        showBioNetNodesLayout()

        linkBioNetNodes(fromNode=2, toNode=5, lineColor="red", arrowSize=1)

[Package caOmicsV version 1.22.0 Index]