RCircos.Get.Single.Point.Positions: Calculate Plot Positions for Genomic Data

View source: R/RCircosGenomicData.R

RCircos.Get.Single.Point.PositionsR Documentation

Calculate Plot Positions for Genomic Data

Description

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.

Usage

RCircos.Get.Single.Point.Positions(genomic.data=NULL, genomic.columns=3)

Arguments

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).

Value

A data frame same as input but with a new column for index of plot positions on a circular line.

Author(s)

Henry Zhang

Examples

## Not run: 
library(RCircos)
data(RCircos.Heatmap.Data)
dat <- RCircos.Get.Single.Point.Positions(RCircos.Heatmap.Data)

## End(Not run)

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