linkBioNetNodes: Draw A Customized Arrow between Two Nodes

Description Usage Arguments Value Author(s) Examples

View source: R/caOmicsV.bioNetCircos.R

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)

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