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

Description Usage Arguments Value Author(s) Examples

View source: R/RCircosGenomicData.R

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

1
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

1
2
3
4
5
6

hzhanghenry/RCircos documentation built on Dec. 20, 2021, 5:55 p.m.