Learn R Programming

caOmicsV (version 1.2.0)

linkBioNetNodes: 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

Examples

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

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

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

Run the code above in your browser using DataLab