getBioNetSamplePlotPosition: Calculate x and y Coordinates for Each Sample on Default Node

Description Usage Arguments Value Author(s) Examples

View source: R/caOmicsV.bioNetCircos.R

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

1

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

1
2
    totalSamples <- 100
    samplePositions <- getBioNetSamplePlotPosition(totalSamples)

hzhanghenry/caOmicsV documentation built on May 17, 2019, 10:07 p.m.