Learn R Programming

RCircos (version 1.2.1)

RCircos.Get.Plot.Layers: Get the Layer Numbers for Tile Plot

Description

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.

Examples

Run this code
# NOT RUN {
library(RCircos)
data(RCircos.Tile.Data)
layers <- RCircos.Get.Plot.Layers(RCircos.Tile.Data, 3)
# }

Run the code above in your browser using DataLab