RCircos.Get.Single.Point.Positions {RCircos} | R Documentation |
Calculate x and y coordinates of one genomic position for each row of a genomic data set. As a set of points for a circlar line is held in the RCircos session, we only need the index of the point for each genomic position.
RCircos.Get.Single.Point.Positions(genomic.data=NULL, genomic.columns=3)
genomic.data |
A data frame contains genomic positions (at least two or three columns for chromosome names, start and/or end positions). |
genomic.columns |
Non-negative integer, total number of columns for genomic position (chromosome name, start and/or end position). |
A data frame same as input but with a new column for index of plot positions on a circular line.
Henry Zhang
## Not run:
library(RCircos)
data(RCircos.Heatmap.Data)
dat <- RCircos.Get.Single.Point.Positions(RCircos.Heatmap.Data)
## End(Not run)