overlapGraphicalSummary: Overlap Graphical Summary

Description Usage Arguments See Also Examples

View source: R/overlapGraphicalSummary.R

Description

Graphical summary of the overlap between two set of regions.

Usage

1
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

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

overlapGraphicalSummary(A, B, regions.labels=c("A","B"), regions.colors=c(4,5,6))

regioneR documentation built on Nov. 8, 2020, 5 p.m.