Draw A Customized Arrow between Two Nodes

Share:

Description

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

Usage

1
    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

1
2
3
4
5
6
7
8
    data(bionetPlotDemoData)
    expr <- bionetPlotDemoData$heatmapData[[1]]

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

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.