Learn R Programming

RCircos (version 1.2.2)

RCircos.Set.Plot.Area: Setup Plot Area for RCircos Plot

Description

Open an new window for plotting. RCircos core components must be initialized before call this function. All four margins are set to 0.25 and window size are set to plot.radius in RCircos parameters. This function is optional and could be replaced by call par(), plot.new(), and plot.window() if users want control the plot window by themselves.

Usage

RCircos.Set.Plot.Area(margins = 0.25, ...)

Arguments

margins

Non-negative numeric, value for margins around plot area.

Other arguments passed...

Examples

Run this code
# 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() 
# }

Run the code above in your browser using DataLab