RCircos.Get.Zoom.Range: Retrieve Genomic Interval from Genomic Data for Zoom Plot

View source: R/RCircosZoomPlot.R

RCircos.Get.Zoom.RangeR Documentation

Retrieve Genomic Interval from Genomic Data for Zoom Plot

Description

Extract zoom in range (chromosome name, start position, and end position) from zoom data with a gene name or row header. If using this function to get zoom-in range, there will be no need to call RCircos.Validate.Genomic.Info().

Usage

RCircos.Get.Zoom.Range(zoom.data=NULL, genomic.columns=3)

Arguments

zoom.data

A data frame with genomic positions, gene names, and plot values for genes to be zoomed-in only.

genomic.columns

Non-negative integer, total number of columns for genomic position in each row. Must be either 3 or 2.

Value

A list with chromosome names, start end end positions.

Author(s)

Henry Zhang

Examples

## Not run: 
library(RCircos)
data(RCircos.Heatmap.Data)
zoom.data <- RCircos.Get.Zoom.Data(RCircos.Heatmap.Data,  
    name.col=4, target.gene="TP53")
zoom.info <- RCircos.Get.Zoom.Range(zoom.data, genomic.columns=3)

## End(Not run)

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