Description Usage Arguments Value Examples
Plots sets of regions
1 |
x |
list of objects to be ploted. |
chromosome |
character or numeric value indicating which chromosome you want to plot. |
start |
numeric value indicating from which position you want to plot. |
end |
numeric value indicating to which position you want to plot. |
regions.labels |
vector indicating the labels for the y axes. It must have the same length as x. |
regions.colors |
character vector indicating the colors for the plotted regions. It must have the same length as x. |
... |
Arguments to be passed to methods, such as graphical parameters (see |
A plot is created on the current graphics device.
1 2 3 4 5 | A <- data.frame(chr=1, start=c(1,15,24,40,50), end=c(10,20,30,45,55))
B <- data.frame(chr=1, start=c(2,12,28,35), end=c(5,25,33,43))
plotRegions(list(A,B), chromosome=1, regions.labels=c("A","B"), regions.colors=3:2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.