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

Description Usage Arguments Value Author(s) Examples

View source: R/RCircosGenomicData.R

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

1
2
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

1
2
3
4
5
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)

Example output



RCircos documentation built on May 2, 2019, 5:51 a.m.