Description Usage Arguments Author(s) Examples
View source: R/RCircosZoomPlot.R
Draw outline and subtrack lines for zoomed-in area of a track in outside of chromosome ideogram. RCircos core components must be initialized first. This function is mainly for internal use.
1 2 | RCircos.Zoom.Area.Outline(zoom.pos=NULL, inside.pos=NULL,
outside.pos=NULL, num.layers=5, fill.col="white")
|
zoom.pos |
Non-negative numeric vector, the index of RCircos plot position. |
inside.pos |
Non-negative numeric, inside position (relative to the centre of plot area) of the track. |
outside.pos |
Non-negative numeric, outside position (relative to the centre of plot area) of the track. |
num.layers |
Non-negative integer, number of sub-tracks in a data track. |
fill.col |
Character vector for color name to fill the polygon. |
Henry Zhang
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | ## Not run:
library(RCircos);
data(UCSC.HG19.Human.CytoBandIdeogram)
RCircos.Set.Core.Components(
cyto.info=UCSC.HG19.Human.CytoBandIdeogram,
chr.exclude=c("chrX", "chrY"),
tracks.inside=10, tracks.outside=5)
RCircos.Set.Plot.Area()
RCircos.Chromosome.Ideogram.Plot()
data(RCircos.Heatmap.Data)
zoom.data <- RCircos.Get.Zoom.Data(RCircos.Heatmap.Data,
name.col=4, genomic.columns=3,
target.gene="SP5", neighbor.genes=5)
zoom.range <- RCircos.Get.Zoom.Range(zoom.data, 3)
zoom.pos <- RCircos.Set.Zoom.Plot.Positions(zoom.range,
total.genes=11, area.length=0.25, gene.width=NULL)
RCircos.Zoom.Area.Outline(zoom.pos=NULL, inside.pos=2.5,
outside.pos=3, num.layers=5, fill.col="white")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.