R: Draw Outline for Zoom Plot Area

RCircos.Zoom.Area.Outline {RCircos} | R Documentation

## Draw Outline for Zoom Plot Area

### Description

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.

### Usage

    RCircos.Zoom.Area.Outline(zoom.pos=NULL, inside.pos=NULL,
        outside.pos=NULL, num.layers=5, fill.col="white")

### Arguments

`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.

### Author(s)

Henry Zhang

### Examples

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

[Package RCircos version 1.2.0 Index]