overlapGraphicalSummary {regioneR} | R Documentation

## Overlap Graphical Summary

### Description

Graphical summary of the overlap between two set of regions.

### Usage

    overlapGraphicalSummary(A, B, regions.labels=c("A","B"), regions.colors=c("black","forestgreen","darkred"), ...)

### Arguments

`A` | a region set in any of the accepted formats by `toGRanges` (`GenomicRanges`, `data.frame`, etc...)
`B` | a region set in any of the accepted formats by `toGRanges` (`GenomicRanges`, `data.frame`, etc...)
`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 `par`). @return A plot is created on the current graphics device.

### See Also

`overlapPermTest`, `overlapRegions`

### Examples

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

[Package regioneR version 1.16.5 Index]