View source: R/RCircosGenomicData.R
RCircos.Get.Data.Point.Height | R Documentation |
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.
RCircos.Get.Data.Point.Height(plot.values=NULL, min.value=NULL, max.value=NULL, plot.type=NULL, track.height=NULL)
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. |
Numeric vector with values between 0 ~ 1
Henry Zhang
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.