View source: R/overlapGraphicalSummary.R
overlapGraphicalSummary | R Documentation |
Graphical summary of the overlap between two set of regions.
overlapGraphicalSummary(A, B, regions.labels=c("A","B"), regions.colors=c("black","forestgreen","darkred"), ...)
A |
a region set in any of the accepted formats by |
B |
a region set in any of the accepted formats by |
regions.labels |
vector indicating the labels for the y axes. |
regions.colors |
character vector indicating the colors for the regions. |
... |
Arguments to be passed to methods, such as graphical parameters (see @return A plot is created on the current graphics device. |
overlapPermTest
, overlapRegions
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))
overlapGraphicalSummary(A, B, regions.labels=c("A","B"), regions.colors=c(4,5,6))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.