getBioNetSamplePlotPosition {caOmicsV} | R Documentation

## Calculate x and y Coordinates for Each Sample on Default Node

### Description

Calculate x and y coordinates for each sample on default node. The output will be a three column matrix representing the left, center, and right position for each sample on circumference of default node. The center positions are for points plot and others are for polygon plot. The bionetCircos layout must be initialized first.

### Usage

        getBioNetSamplePlotPosition(totalSamples)

### Arguments

`totalSamples` | non-negative integer, total numbe of samples to be plotted

### Value

Matrix with index of x and y coordinates for each sample

### Author(s)

Henry Zhang

### Examples

        totalSamples <- 100
        samplePositions <- getBioNetSamplePlotPosition(totalSamples)

[Package caOmicsV version 1.16.0 Index]