Learn R Programming

caOmicsV (version 1.2.0)

getBioNetSamplePlotPosition: 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

Examples

Run this code
    totalSamples <- 100
    samplePositions <- getBioNetSamplePlotPosition(totalSamples)

Run the code above in your browser using DataLab