Skip to contents

Check out overlaps between different genomic positions on same chromosome and set up layer numbers for each line of the genomic data.

Usage

RCircos.Get.Plot.Layers(genomic.data=NULL, genomic.columns=NULL)

Arguments

genomic.data

A data frame with genomic positions (chromosomes, start and end positions) and the positions should be already validated and sorted by chromosome then start position.

genomic.columns

Non-negative integer, total number of columns for genomic positions.

Value

A non-negative integer vector with length same as the total rows of input data.

Author

Henry Zhang

Examples

library(RCircos)
data(RCircos.Tile.Data)
layers <- RCircos.Get.Plot.Layers(RCircos.Tile.Data, 3)