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

View source: R/RCircosGenomicData.R

RCircos.Get.Data.Point.HeightR Documentation

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

Author(s)

Henry Zhang

Examples

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)

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