Learn R Programming

RCircos (version 1.2.2)

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

Description

Calculate data point height inside a plot track such as scatter location, top or bottom location of a bar, layer of a tile or parallel link line.

Usage

RCircos.Get.Data.Point.Height(plot.values=NULL, min.value=NULL, 
    max.value=NULL, plot.type=NULL, track.height=NULL)

Arguments

plot.values

Numeric, 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.

plot.type

Character vector, plot type, valid values are "bar", "histogram", "uniform", or "points".

track.height

Non-negative numeric, height of plot track.

Value

Numeric vector with values between 0 ~ 1

Examples

Run this code
# NOT RUN {
data.values <- runif(1000, -4, 11)
library(RCircos)
data.height <- RCircos.Get.Data.Point.Height(data.values,  
    min.value=-4, max.value=14, plot.type="points",  
    track.height=NULL)
# }

Run the code above in your browser using DataLab