Learn R Programming

ChIPseeker (version 1.8.6)

vennplot: 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.

Examples

Run this code
## 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)

Run the code above in your browser using DataLab