Learn R Programming

RCircos (version 1.2.2)

RCircos.Get.Start.End.Locations: Calculate Start and End Positions for Plot Data

Description

Generate start and end positions from single point for special plot types such as heatmap, histogram, or rectangle-like which need start and end positions along the track. This function is mainly for internal use.

Usage

RCircos.Get.Start.End.Locations(plot.data, plot.width)

Arguments

plot.data

Data frame returned from RCircos.Get.Single.Point.Positions() and the last column is the plot locations

plot.width

Non-negative integer in number of base pairs, e.g., width or heatmap or histogram of each data points