RCircos.Get.Polygon.Height: Calculate the Height of Polygons in A Data Track

View source: R/RCircosPlotPositions.R

RCircos.Get.Polygon.HeightR Documentation

Calculate the Height of Polygons in A Data Track

Description

Calculate polygon heights (bottom and top location) inside a plot track. Polygon can be draw from inside position to outside position, from outside position to inside position, or from the middle to both direction of the track. This is mainly for internal use.

Usage

RCircos.Get.Polygon.Height(data.heights, min.value=NULL,  
    max.value=NULL, inside.pos=NULL, outside.pos=NULL)

Arguments

data.heights

Numeric vector, the data to be plotted on a data track.

min.value

Numeric, the minimum value of data range.

max.value

Numeric, the maximum value of data range.

inside.pos

Non-negative numeric, the close position of a plot track relative to the center of plot area.

outside.pos

Non-negative numeric, the far position of a plot track relative to the center of plot area.

Value

Non-negative umeric matrix of column 2 representing the bottom and top positions of polygons.

Author(s)

Henry Zhang


RCircos documentation built on March 18, 2022, 7:59 p.m.