getBioNetPlotLocations {caOmicsV} | R Documentation

## Get bioNetCircos Plot Locations

### Description

Get plot locations for a node on caOmicsC bioNetCircos layout

### Usage

        getBioNetPlotLocations(nodeCenter, outer, inner)

### Arguments

`nodeCenter` | numeric, x and y coordinates of the node center
`outer` | non-negative numeric, outer limit of plot track relative to node center
`inner` | non-negative numeric, inner limit of plot track relative to ode center

### Value

`nodeCenter` | numeric, x and y coordinates of the node center
`outPositions` | two dimensional numeric matrix for x and y coordinates of outer boundary for plot
`inPositions` | two dimensional numeric matrix for x and y coordinates of inner boundary for plot
`positionIndex` | matrix with index of x and y coordinates of base plot position for each sample

### Author(s)

Henry Zhang

### Examples

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

        initializeBioNetCircos(bioNet)

        bioNetGraph <- getBioNetGraph()
        outer <- 1.5
        inner <- 1.0

        nodeCenter <- as.numeric(bioNetGraph$layout[1,])
        plotLocations <- getBioNetPlotLocations(nodeCenter, outer, inner)

[Package caOmicsV version 1.16.0 Index]