Link Two samples Inside a Node with Quadratic Bezier Curve

Share:

Description

Draw a quadratic Bezier curve line between two samples inside of a node. bioNetCorcos layout must be initialized first.

Usage

1
    linkBioNetSamples(nodeIndex, fromSample, toSample, outer, plotColors)

Arguments

nodeIndex

non-negative integer, the node on which link line is drawn

fromSample

non-negative integer, the first sample to be linked

toSample

non-negative integer, the second sample to be linked

outer

non-negative numeric, the start and end of link line relative to node center

plotColors

character vector, color for the link line (ribbon)

Value

None

Author(s)

Henry Zhang

Examples

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

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

    linkBioNetSamples(nodeIndex=2, fromSample=10, toSample=20, outer=0.9, 
            plotColors="red")

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