View source: R/RCircosZoomPlot.R
RCircos.Get.Zoom.Data | R Documentation |
Retrieve subset of plot data based on gene name or row header.
RCircos.Get.Zoom.Data(plot.data=NULL, name.col= NULL, genomic.columns=3, target.gene=NULL, neighbor.genes=5)
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. |
Data frame, subset of input data.
Henry Zhang
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.