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

View source: R/RCircosGenomicData.R

RCircos.Get.Plot.LayersR Documentation

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.

Author(s)

Henry Zhang

Examples

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

RCircos documentation built on March 18, 2022, 7:59 p.m.