vennplot {ChIPseeker} | R Documentation

## vennplot

### Description

plot the overlap of a list of object

### Usage

    vennplot(Sets, by = "gplots")

### Arguments

`Sets` | a list of object, can be vector or GRanges object
`by` | one of gplots or Vennerable

### Value

venn plot that summarize the overlap of peaks from different experiments or gene annotation from different peak files.

### Author(s)

G Yu

### Examples

    ## example not run
    ## require(TxDb.Hsapiens.UCSC.hg19.knownGene)
    ## txdb <- TxDb.Hsapiens.UCSC.hg19.knownGene
    ## peakfiles <- getSampleFiles()
    ## peakAnnoList <- lapply(peakfiles, annotatePeak)
    ## names(peakAnnoList) <- names(peakfiles)
    ## genes= lapply(peakAnnoList, function(i) as.data.frame(i)$geneId)
    ## vennplot(genes)

[Package ChIPseeker version 1.16.1 Index]