RCircos.Get.Zoom.Data: Retriev Subset of Plot Data for Zoom

View source: R/RCircosZoomPlot.R

RCircos.Get.Zoom.DataR Documentation

Retriev Subset of Plot Data for Zoom

Description

Retrieve subset of plot data based on gene name or row header.

Usage

RCircos.Get.Zoom.Data(plot.data=NULL, name.col= NULL,
 	genomic.columns=3, target.gene=NULL, neighbor.genes=5)

Arguments

plot.data

A data frame containing genomic positions, gene names, and plot values. The data should be already sorted by chromosome names then start positions.

name.col

Non-negative integer, which column is for gene names.

genomic.columns

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

target.gene

Character vector, target gene names.

neighbor.genes

Non-negative integer, number of neighbor genes on each side of taget gene to be included in subset.

Value

Data frame, subset of input data.

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

## End(Not run)

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