linkBioNetSamples {caOmicsV} | R Documentation

## Link Two samples Inside a Node with Quadratic Bezier Curve

### Description

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

### Usage

        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

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

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

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

[Package caOmicsV version 1.18.0 Index]