Abstract

ChIPseeker is an R package for annotating ChIP-seq data analysis. It supports annotating ChIP peaks and provides functions to visualize ChIP peaks coverage over chromosomes and profiles of peaks binding to TSS regions. Comparison of ChIP peak profiles and annotation are also supported. Moreover, it supports evaluating significant overlap among ChIP-seq datasets. Currently, ChIPseeker contains 17,000 bed file information from GEO database. These datasets can be downloaded and compare with user’s own data to explore significant overlap datasets for inferring co-regulation or transcription factor complex for further investigation.

Citation

If you use ChIPseeker(Yu, Wang, and He 2015) in published research, please cite:

G Yu, LG Wang, QY He. ChIPseeker: an R/Bioconductor package for ChIP peak annotation, comparison and visualization. Bioinformatics 2015, 31(14):2382-2383. doi:[10.1093/bioinformatics/btv145](http://dx.doi.org/10.1093/bioinformatics/btv145)

Introduction

Chromatin immunoprecipitation followed by high-throughput sequencing (ChIP-seq) has become standard technologies for genome wide identification of DNA-binding protein target sites. After read mappings and peak callings, the peak should be annotated to answer the biological questions. Annotation also create the possibility of integrating expression profile data to predict gene expression regulation. ChIPseeker(Yu, Wang, and He 2015) was developed for annotating nearest genes and genomic features to peaks.

ChIP peak data set comparison is also very important. We can use it as an index to estimate how well biological replications are. Even more important is applying to infer cooperative regulation. If two ChIP seq data, obtained by two different binding proteins, overlap significantly, these two proteins may form a complex or have interaction in regulation chromosome remodelling or gene expression. ChIPseeker(Yu, Wang, and He 2015) support statistical testing of significant overlap among ChIP seq data sets, and incorporate open access database GEO for users to compare their own dataset to those deposited in database. Protein interaction hypothesis can be generated by mining data deposited in database. Converting genome coordinations from one genome version to another is also supported, making this comparison available for different genome version and different species.

Several visualization functions are implemented to visualize the coverage of the ChIP seq data, peak annotation, average profile and heatmap of peaks binding to TSS region.

Functional enrichment analysis of the peaks can be performed by my Bioconductor packages DOSE(Yu et al. 2015), ReactomePA(Yu and He 2016), clusterProfiler(Yu et al. 2012).

ChIP profiling

The datasets CBX6 and CBX7 in this vignettes were downloaded from GEO (GSE40740)(Pemberton et al. 2014) while ARmo_0M, ARmo_1nM and ARmo_100nM were downloaded from GEO (GSE48308)(Urbanucci et al. 2012) . ChIPseeker provides readPeakFile to load the peak and store in GRanges object.

## $ARmo_0M
## [1] "/tmp/RtmpC0FTxj/Rinst302442b635cf/ChIPseeker/extdata/GEO_sample_data/GSM1174480_ARmo_0M_peaks.bed.gz"
## 
## $ARmo_1nM
## [1] "/tmp/RtmpC0FTxj/Rinst302442b635cf/ChIPseeker/extdata/GEO_sample_data/GSM1174481_ARmo_1nM_peaks.bed.gz"
## 
## $ARmo_100nM
## [1] "/tmp/RtmpC0FTxj/Rinst302442b635cf/ChIPseeker/extdata/GEO_sample_data/GSM1174482_ARmo_100nM_peaks.bed.gz"
## 
## $CBX6_BF
## [1] "/tmp/RtmpC0FTxj/Rinst302442b635cf/ChIPseeker/extdata/GEO_sample_data/GSM1295076_CBX6_BF_ChipSeq_mergedReps_peaks.bed.gz"
## 
## $CBX7_BF
## [1] "/tmp/RtmpC0FTxj/Rinst302442b635cf/ChIPseeker/extdata/GEO_sample_data/GSM1295077_CBX7_BF_ChipSeq_mergedReps_peaks.bed.gz"
## GRanges object with 1331 ranges and 2 metadata columns:
##          seqnames              ranges strand |             V4        V5
##             <Rle>           <IRanges>  <Rle> |       <factor> <numeric>
##      [1]     chr1       815093-817883      * |    MACS_peak_1    295.76
##      [2]     chr1     1243288-1244338      * |    MACS_peak_2     63.19
##      [3]     chr1     2979977-2981228      * |    MACS_peak_3    100.16
##      [4]     chr1     3566182-3567876      * |    MACS_peak_4    558.89
##      [5]     chr1     3816546-3818111      * |    MACS_peak_5     57.57
##      ...      ...                 ...    ... .            ...       ...
##   [1327]     chrX 135244783-135245821      * | MACS_peak_1327     55.54
##   [1328]     chrX 139171964-139173506      * | MACS_peak_1328    270.19
##   [1329]     chrX 139583954-139586126      * | MACS_peak_1329    918.73
##   [1330]     chrX 139592002-139593238      * | MACS_peak_1330    210.88
##   [1331]     chrY   13845134-13845777      * | MACS_peak_1331     58.39
##   -------
##   seqinfo: 24 sequences from an unspecified genome; no seqlengths

ChIP peaks coverage plot

After peak calling, we would like to know the peak locations over the whole genome, covplot function calculates the coverage of peak regions over chromosomes and generate a figure to visualize. GRangesList is also supported and can be used to compare coverage of multiple bed files.

Profile of ChIP peaks binding to TSS regions

First of all, for calculating the profile of ChIP peaks binding to TSS regions, we should prepare the TSS regions, which are defined as the flanking sequence of the TSS sites. Then align the peaks that are mapping to these regions, and generate the tagMatrix.

In the above code, you should notice that tagMatrix is not restricted to TSS regions. The regions can be other types that defined by the user.

Heatmap of ChIP binding to TSS regions

Heatmap of ChIP peaks binding to TSS regions

Heatmap of ChIP peaks binding to TSS regions

ChIPseeker provide a one step function to generate this figure from bed file. The following function will generate the same figure as above.

Average Profile of ChIP peaks binding to TSS region

Average Profile of ChIP peaks binding to TSS region

Average Profile of ChIP peaks binding to TSS region

The function plotAvgProf2 provide a one step from bed file to average profile plot. The following command will generate the same figure as shown above.

Confidence interval estimated by bootstrap method is also supported for characterizing ChIP binding profiles.

Profile of ChIP peaks binding to start site of Exon/Intron

Referring to the issue #16, we developed getBioRegion function to support centering all peaks to the start region of Exon/Intron. Users can also create heatmap or average profile of ChIP peaks binding to these regions.

Peak Annotation

## >> loading peak file...               2018-10-30 08:12:20 PM 
## >> preparing features information...      2018-10-30 08:12:20 PM 
## >> identifying nearest features...        2018-10-30 08:12:20 PM 
## >> calculating distance from peak to TSS...   2018-10-30 08:12:21 PM 
## >> assigning genomic annotation...        2018-10-30 08:12:21 PM 
## >> adding gene annotation...          2018-10-30 08:12:53 PM 
## >> assigning chromosome lengths           2018-10-30 08:12:54 PM 
## >> done...                    2018-10-30 08:12:54 PM

Peak Annotation is performed by annotatePeak. User can define TSS (transcription start site) region, by default TSS is defined from -3kb to +3kb. The output of annotatePeak is csAnno instance. ChIPseeker provides as.GRanges to convert csAnno to GRanges instance, and as.data.frame to convert csAnno to data.frame which can be exported to file by write.table.

TxDb object contained transcript-related features of a particular genome. Bioconductor provides several package that containing TxDb object of model organisms with multiple commonly used genome version, for instance TxDb.Hsapiens.UCSC.hg38.knownGene, TxDb.Hsapiens.UCSC.hg19.knownGene for human genome hg38 and hg19, TxDb.Mmusculus.UCSC.mm10.knownGene and TxDb.Mmusculus.UCSC.mm9.knownGene for mouse genome mm10 and mm9, etc. User can also prepare their own TxDb object by retrieving information from UCSC Genome Bioinformatics and BioMart data resources by R function makeTxDbFromBiomart and makeTxDbFromUCSC. TxDb object should be passed for peak annotation.

All the peak information contained in peakfile will be retained in the output of annotatePeak. The position and strand information of nearest genes are reported. The distance from peak to the TSS of its nearest gene is also reported. The genomic region of the peak is reported in annotation column. Since some annotation may overlap, ChIPseeker adopted the following priority in genomic annotation.

Downstream is defined as the downstream of gene end.

ChIPseeker also provides parameter genomicAnnotationPriority for user to prioritize this hierachy.

annotatePeak report detail information when the annotation is Exon or Intron, for instance “Exon (uc002sbe.3/9736, exon 69 of 80)”, means that the peak is overlap with an Exon of transcript uc002sbe.3, and the corresponding Entrez gene ID is 9736 (Transcripts that belong to the same gene ID may differ in splice events), and this overlaped exon is the 69th exon of the 80 exons that this transcript uc002sbe.3 prossess.

Parameter annoDb is optional, if provided, extra columns including SYMBOL, GENENAME, ENSEMBL/ENTREZID will be added. The geneId column in annotation output will be consistent with the geneID in TxDb. If it is ENTREZID, ENSEMBL will be added if annoDb is provided, while if it is ENSEMBL ID, ENTREZID will be added.

Visualize Genomic Annotation

To annotate the location of a given peak in terms of genomic features, annotatePeak assigns peaks to genomic annotation in “annotation” column of the output, which includes whether a peak is in the TSS, Exon, 5’ UTR, 3’ UTR, Intronic or Intergenic. Many researchers are very interesting in these annotations. TSS region can be defined by user and annotatePeak output in details of which exon/intron of which genes as illustrated in previous section.

Pie and Bar plot are supported to visualize the genomic annotation.

Genomic Annotation by pieplot

Genomic Annotation by pieplot

Genomic Annotation by barplot

Genomic Annotation by barplot

Since some annotation overlap, user may interested to view the full annotation with their overlap, which can be partially resolved by vennpie function.

Genomic Annotation by vennpie

Genomic Annotation by vennpie

We extend UpSetR to view full annotation overlap. User can user upsetplot function.

We can combine vennpie with upsetplot by setting vennpie = TRUE.

Visualize distribution of TF-binding loci relative to TSS

The distance from the peak (binding site) to the TSS of the nearest gene is calculated by annotatePeak and reported in the output. We provide plotDistToTSS to calculate the percentage of binding sites upstream and downstream from the TSS of the nearest genes, and visualize the distribution.

Distribution of Binding Sites

Distribution of Binding Sites

Functional enrichment analysis

Once we have obtained the annotated nearest genes, we can perform functional enrichment analysis to identify predominant biological themes among these genes by incorporating biological knowledge provided by biological ontologies. For instance, Gene Ontology (GO)(Ashburner et al. 2000) annotates genes to biological processes, molecular functions, and cellular components in a directed acyclic graph structure, Kyoto Encyclopedia of Genes and Genomes (KEGG)(Kanehisa et al. 2004) annotates genes to pathways, Disease Ontology (DO)(Schriml et al. 2011) annotates genes with human disease association, and Reactome(Croft et al. 2013) annotates gene to pathways and reactions.

ChIPseeker also provides a function, seq2gene, for linking genomc regions to genes in a many-to-many mapping. It consider host gene (exon/intron), promoter region and flanking gene from intergenic region that may under control via cis-regulation. This function is designed to link both coding and non-coding genomic regions to coding genes and facilitate functional analysis.

Enrichment analysis is a widely used approach to identify biological themes. I have developed several Bioconductor packages for investigating whether the number of selected genes associated with a particular biological term is larger than expected, including DOSE(Yu et al. 2015) for Disease Ontology, ReactomePA for reactome pathway, clusterProfiler(Yu et al. 2012) for Gene Ontology and KEGG enrichment analysis.

##                          ID
## R-HSA-186712   R-HSA-186712
## R-HSA-3769402 R-HSA-3769402
##                                                            Description
## R-HSA-186712                       Regulation of beta-cell development
## R-HSA-3769402 Deactivation of the beta-catenin transactivating complex
##               GeneRatio  BgRatio       pvalue     p.adjust       qvalue
## R-HSA-186712     12/456 33/10561 5.644654e-09 4.905204e-06 4.905204e-06
## R-HSA-3769402     9/456 42/10561 6.019542e-05 2.615491e-02 2.615491e-02
##                                                                          geneID
## R-HSA-186712  2494/5080/3651/3175/6928/390874/3642/4821/4825/2255/222546/389692
## R-HSA-3769402                   607/55553/6662/6657/51176/83595/64321/7088/6658
##               Count
## R-HSA-186712     12
## R-HSA-3769402     9
##                          ID                           Description
## R-HSA-186712   R-HSA-186712   Regulation of beta-cell development
## R-HSA-8943724 R-HSA-8943724 Regulation of PTEN gene transcription
##               GeneRatio  BgRatio       pvalue     p.adjust       qvalue
## R-HSA-186712     10/370 33/10561 1.111462e-07 9.069527e-05 8.868294e-05
## R-HSA-8943724    10/370 61/10561 4.511578e-05 1.257097e-02 1.229205e-02
##                                                                   geneID
## R-HSA-186712       2494/3651/4821/4825/2255/222546/389692/5080/6928/3642
## R-HSA-8943724 64121/100532731/23466/2122/7101/57167/648/84733/57332/8535
##               Count
## R-HSA-186712     10
## R-HSA-8943724    10

More information can be found in the vignettes of Bioconductor packages DOSE(Yu et al. 2015), ReactomePA, clusterProfiler(Yu et al. 2012), which also provide several methods to visualize enrichment results. The clusterProfiler(Yu et al. 2012) is designed for comparing and visualizing functional profiles among gene clusters, and can directly applied to compare biological themes at GO, DO, KEGG, Reactome perspective.

ChIP peak data set comparison

Profile of several ChIP peak data binding to TSS region

Function plotAvgProf and tagHeatmap can accept a list of tagMatrix and visualize profile or heatmap among several ChIP experiments, while plotAvgProf2 and peakHeatmap can accept a list of bed files and perform the same task in one step.

Peak heatmaps

Heatmap of ChIP peaks among different experiments

Heatmap of ChIP peaks among different experiments

ChIP peak annotation comparision

The plotAnnoBar and plotDistToTSS can also accept input of a named list of annotated peaks (output of annotatePeak).

We can use plotAnnoBar to comparing their genomic annotation.

Genomic Annotation among different ChIPseq data

Genomic Annotation among different ChIPseq data

R function plotDistToTSS can use to comparing distance to TSS profiles among ChIPseq data.

Distribution of Binding Sites among different ChIPseq data

Distribution of Binding Sites among different ChIPseq data

Functional profiles comparison

As shown in section 4, the annotated genes can analyzed by r Biocpkg("clusterProfiler")(Yu et al. 2012), r Biocpkg("DOSE")(Yu et al. 2015), meshes and r Biocpkg("ReactomePA") for Gene Ontology, KEGG, Disease Ontology, MeSH and Reactome Pathway enrichment analysis.

The clusterProfiler(Yu et al. 2012) package provides compareCluster function for comparing biological themes among gene clusters, and can be easily adopted to compare different ChIP peak experiments.

Overlap of peaks and annotated genes

User may want to compare the overlap peaks of replicate experiments or from different experiments. ChIPseeker provides peak2GRanges that can read peak file and stored in GRanges object. Several files can be read simultaneously using lapply, and then passed to vennplot to calculate their overlap and draw venn plot.

vennplot accept a list of object, can be a list of GRanges or a list of vector. Here, I will demonstrate using vennplot to visualize the overlap of the nearest genes stored in peakAnnoList.

Overlap of annotated genes

Overlap of annotated genes

Statistical testing of ChIP seq overlap

Overlap is very important, if two ChIP experiment by two different proteins overlap in a large fraction of their peaks, they may cooperative in regulation. Calculating the overlap is only touch the surface. ChIPseeker implemented statistical methods to measure the significance of the overlap.

Shuffle genome coordination

## GRanges object with 2 ranges and 0 metadata columns:
##       seqnames              ranges strand
##          <Rle>           <IRanges>  <Rle>
##   [1]     chr1   98125243-98125292      *
##   [2]     chr3 195357541-195357571      *
##   -------
##   seqinfo: 2 sequences from an unspecified genome; no seqlengths

We implement the shuffle function to randomly permute the genomic locations of ChIP peaks defined in a genome which stored in TxDb object.

Peak overlap enrichment analysis

With the ease of this shuffle method, we can generate thousands of random ChIP data and calculate the background null distribution of the overlap among ChIP data sets.

##                                                       qSample
## ARmo_0M    GSM1295077_CBX7_BF_ChipSeq_mergedReps_peaks.bed.gz
## ARmo_1nM   GSM1295077_CBX7_BF_ChipSeq_mergedReps_peaks.bed.gz
## ARmo_100nM GSM1295077_CBX7_BF_ChipSeq_mergedReps_peaks.bed.gz
## CBX6_BF    GSM1295077_CBX7_BF_ChipSeq_mergedReps_peaks.bed.gz
##                                                       tSample qLen tLen
## ARmo_0M                       GSM1174480_ARmo_0M_peaks.bed.gz 1663  812
## ARmo_1nM                     GSM1174481_ARmo_1nM_peaks.bed.gz 1663 2296
## ARmo_100nM                 GSM1174482_ARmo_100nM_peaks.bed.gz 1663 1359
## CBX6_BF    GSM1295076_CBX6_BF_ChipSeq_mergedReps_peaks.bed.gz 1663 1331
##            N_OL     pvalue   p.adjust
## ARmo_0M       0 0.90196078 0.90196078
## ARmo_1nM      8 0.17647059 0.35294118
## ARmo_100nM    3 0.35294118 0.47058824
## CBX6_BF     968 0.01960784 0.07843137

Parameter queryPeak is the query ChIP data, while targetPeak is bed file name or a vector of bed file names from comparison; nShuffle is the number to shuffle the peaks in targetPeak. To speed up the compilation of this vignettes, we only set nShuffle to 50 as an example for only demonstration. User should set the number to 1000 or above for more robust result. Parameter chainFile are chain file name for mapping the targetPeak to the genome version consistent with queryPeak when their genome version are different. This creat the possibility of comparison among different genome version and cross species.

In the output, qSample is the name of queryPeak and qLen is the the number of peaks in queryPeak. N_OL is the number of overlap between queryPeak and targetPeak.

Data Mining with ChIP seq data deposited in GEO

There are many ChIP seq data sets that have been published and deposited in GEO database. We can compare our own dataset to those deposited in GEO to search for significant overlap data. Significant overlap of ChIP seq data by different binding proteins may be used to infer cooperative regulation and thus can be used to generate hypotheses.

We collect about 17,000 bed files deposited in GEO, user can use getGEOspecies to get a summary based on speices.

GEO data collection

##                                               species  Freq
## 1                                       Aedes aegypti    11
## 2                                            Anabaena     6
## 3                                 Anolis carolinensis     5
## 4                                   Anopheles gambiae     2
## 5                                      Apis mellifera     5
## 6                           Apis mellifera scutellata     1
## 7                                  Arabidopsis lyrata     4
## 8                                Arabidopsis thaliana   209
## 9                                Atelerix albiventris     2
## 10                                         Bos taurus    28
## 11                          Branchiostoma lanceolatum    62
## 12                                      Brassica rapa     8
## 13                             Caenorhabditis elegans   164
## 14                                   Candida albicans    25
## 15                               Candida dubliniensis    20
## 16                             Canis lupus familiaris     7
## 17                          Chlamydomonas reinhardtii    51
## 18                               Chlorocebus aethiops     2
## 19                                 Cleome hassleriana     1
## 20                                      Columba livia     6
## 21                                  Crassostrea gigas     1
## 22                            Cryptococcus neoformans    51
## 23                                    Cyprinus carpio    40
## 24                                        Danio rerio   164
## 25                                 Drosophila busckii     1
## 26                            Drosophila melanogaster   734
## 27            Drosophila melanogaster;\tSindbis virus     3
## 28                                 Drosophila miranda     2
## 29                           Drosophila pseudoobscura     7
## 30                                Drosophila simulans    12
## 31                                 Drosophila virilis    26
## 32                              Drosophila willistoni     1
## 33                                  Drosophila yakuba     8
## 34                                     Equus caballus     1
## 35                                   Escherichia coli    13
## 36                           Escherichia coli BW25113     4
## 37                              Escherichia coli K-12     2
## 38          Escherichia coli str. K-12 substr. MG1655     8
## 39                                      Gallus gallus    55
## 40                       Geobacter sulfurreducens PCA     3
## 41                                    Gorilla gorilla     2
## 42                                  Histophilus somni     1
## 43                                       Homo sapiens 10083
## 44                 Homo sapiens;\tHuman herpesvirus 8     6
## 45                               Human herpesvirus 6B     2
## 46                                Human herpesvirus 8     6
## 47                                Larimichthys crocea     7
## 48                             Legionella pneumophila     5
## 49                             Leishmania amazonensis     4
## 50                                   Leishmania major     2
## 51                   Leishmania major strain Friedlin     4
## 52                              Leishmania tarentolae    15
## 53                                     Macaca mulatta   116
## 54                              Monodelphis domestica     8
## 55                         Moraxella catarrhalis O35E     6
## 56                                       Mus musculus  7596
## 57                         Mus musculus x Mus spretus     1
## 58                         Mycobacterium tuberculosis     2
## 59                                    Myotis brandtii    15
## 60                              Naumovozyma castellii     1
## 61                             Nematostella vectensis    23
## 62                              Oreochromis niloticus     1
## 63                           Ornithorhynchus anatinus     5
## 64                                       Oryza sativa    23
## 65                                    Oryzias latipes     2
## 66                                    Pan troglodytes    93
## 67                                       Papio anubis     1
## 68                              Plasmodium falciparum   105
## 69                          Plasmodium falciparum 3D7    29
## 70                          Pseudomonas putida KT2440     2
## 71                                 Pseudozyma aphidis    11
## 72                                Pyrococcus furiosus     4
## 73                                  Rattus norvegicus    57
## 74                         Rhodopseudomonas palustris     6
## 75                  Rhodopseudomonas palustris CGA009     3
## 76                           Saccharomyces cerevisiae   586
## 77 Saccharomyces cerevisiae x Saccharomyces paradoxus    16
## 78            Saccharomyces cerevisiae;\tMus musculus    12
## 79                         Saccharomyces kudriavzevii     1
## 80                            Saccharomyces paradoxus     8
## 81                               Saccharomyces uvarum     1
## 82                      Schizosaccharomyces japonicus     2
## 83                          Schizosaccharomyces pombe   130
## 84                             Schmidtea mediterranea     7
## 85                                    Sorghum bicolor     2
## 86                      Streptomyces coelicolor A3(2)     6
## 87                                         Sus scrofa    23
## 88                                Taeniopygia guttata     1
## 89                                   Tupaia chinensis     7
## 90                                    Vibrio cholerae     8
## 91                      Xenopus (Silurana) tropicalis    62
## 92                                     Xenopus laevis    10
## 93                                           Zea mays    63

The summary can also based on genome version as illustrated below:

##                         organism genomeVersion Freq
## 1            Anolis carolinensis       anoCar2    5
## 2                     Bos taurus       bosTau4    2
## 3                     Bos taurus       bosTau6   24
## 4                     Bos taurus       bosTau7    2
## 5         Caenorhabditis elegans          ce10    4
## 6         Caenorhabditis elegans           ce6   64
## 7                    Danio rerio       danRer6    6
## 8                    Danio rerio       danRer7   61
## 9        Drosophila melanogaster           dm3  502
## 10                 Gallus gallus       galGal3   32
## 11                 Gallus gallus       galGal4   15
## 12                  Homo sapiens          hg18 2512
## 13                  Homo sapiens          hg19 6876
## 14                  Homo sapiens          hg38   43
## 15                  Mus musculus          mm10  214
## 16                  Mus musculus           mm8  507
## 17                  Mus musculus           mm9 6289
## 18         Monodelphis domestica       monDom5    8
## 19               Pan troglodytes       panTro3   48
## 20               Pan troglodytes       panTro4   42
## 21                Macaca mulatta       rheMac2   81
## 22                Macaca mulatta       rheMac3   31
## 23             Rattus norvegicus           rn5    3
## 24      Saccharomyces cerevisiae       sacCer2  141
## 25      Saccharomyces cerevisiae       sacCer3  227
## 26                    Sus scrofa       susScr2   17
## 27 Xenopus (Silurana) tropicalis       xenTro3    3

User can access the detail information by getGEOInfo, for each genome version.

##     series_id        gsm     organism
## 111  GSE16256  GSM521889 Homo sapiens
## 112  GSE16256  GSM521887 Homo sapiens
## 113  GSE16256  GSM521883 Homo sapiens
## 114  GSE16256 GSM1010966 Homo sapiens
## 115  GSE16256  GSM896166 Homo sapiens
## 116  GSE16256  GSM910577 Homo sapiens
##                                                                                                       title
## 111          Reference Epigenome: ChIP-Seq Analysis of H3K27me3 in IMR90 Cells; renlab.H3K27me3.IMR90-02.01
## 112            Reference Epigenome: ChIP-Seq Analysis of H3K27ac in IMR90 Cells; renlab.H3K27ac.IMR90-03.01
## 113            Reference Epigenome: ChIP-Seq Analysis of H3K14ac in IMR90 Cells; renlab.H3K14ac.IMR90-02.01
## 114                      polyA RNA sequencing of STL003 Pancreas Cultured Cells; polyA-RNA-seq_STL003PA_r1a
## 115          Reference Epigenome: ChIP-Seq Analysis of H4K8ac in hESC H1 Cells; renlab.H4K8ac.hESC.H1.01.01
## 116 Reference Epigenome: ChIP-Seq Analysis of H3K4me1 in Human Spleen Tissue; renlab.H3K4me1.STL003SX.01.01
##                                                                                                     supplementary_file
## 111         ftp://ftp.ncbi.nlm.nih.gov/geo/samples/GSM521nnn/GSM521889/suppl/GSM521889_UCSD.IMR90.H3K27me3.SK05.bed.gz
## 112          ftp://ftp.ncbi.nlm.nih.gov/geo/samples/GSM521nnn/GSM521887/suppl/GSM521887_UCSD.IMR90.H3K27ac.YL58.bed.gz
## 113          ftp://ftp.ncbi.nlm.nih.gov/geo/samples/GSM521nnn/GSM521883/suppl/GSM521883_UCSD.IMR90.H3K14ac.SK17.bed.gz
## 114 ftp://ftp.ncbi.nlm.nih.gov/geo/samples/GSM1010nnn/GSM1010966/suppl/GSM1010966_UCSD.Pancreas.mRNA-Seq.STL003.bed.gz
## 115              ftp://ftp.ncbi.nlm.nih.gov/geo/samples/GSM896nnn/GSM896166/suppl/GSM896166_UCSD.H1.H4K8ac.AY17.bed.gz
## 116       ftp://ftp.ncbi.nlm.nih.gov/geo/samples/GSM910nnn/GSM910577/suppl/GSM910577_UCSD.Spleen.H3K4me1.STL003.bed.gz
##     genomeVersion pubmed_id
## 111          hg19  19829295
## 112          hg19  19829295
## 113          hg19  19829295
## 114          hg19  19829295
## 115          hg19  19829295
## 116          hg19  19829295

If simplify is set to FALSE, extra information including source_name, extract_protocol, description, data_processing and submission_date will be incorporated.

Download GEO ChIP data sets

ChIPseeker provide function downloadGEObedFiles to download all the bed files of a particular genome.

Or a vector of GSM accession number by downloadGSMbedFiles.

Overlap significant testing

After download the bed files from GEO, we can pass them to enrichPeakOverlap for testing the significant of overlap. Parameter targetPeak can be the folder, e.g. hg19, that containing bed files. enrichPeakOverlap will parse the folder and compare all the bed files. It is possible to test the overlap with bed files that are mapping to different genome or different genome versions, enrichPeakOverlap provide a parameter chainFile that can pass a chain file and liftOver the targetPeak to the genome version consistent with queryPeak. Signifcant overlap can be use to generate hypothesis of cooperative regulation.By mining the data deposited in GEO, we can identify some putative complex or interacted regulators in gene expression regulation or chromsome remodelling for further validation.

Need helps?

If you have questions/issues, please visit ChIPseeker homepage first. Your problems are mostly documented. If you think you found a bug, please follow the guide and provide a reproducible example to be posted on github issue tracker. For questions, please post to Bioconductor support site and tag your post with ChIPseeker.

For Chinese user, you can follow me on WeChat (微信).

Session Information

Here is the output of sessionInfo() on the system on which this document was compiled:

## R version 3.5.1 Patched (2018-07-12 r74967)
## Platform: x86_64-pc-linux-gnu (64-bit)
## Running under: Ubuntu 16.04.5 LTS
## 
## Matrix products: default
## BLAS: /home/biocbuild/bbs-3.8-bioc/R/lib/libRblas.so
## LAPACK: /home/biocbuild/bbs-3.8-bioc/R/lib/libRlapack.so
## 
## locale:
##  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
##  [3] LC_TIME=en_US.UTF-8        LC_COLLATE=C              
##  [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
##  [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
##  [9] LC_ADDRESS=C               LC_TELEPHONE=C            
## [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       
## 
## attached base packages:
## [1] stats4    parallel  stats     graphics  grDevices utils     datasets 
## [8] methods   base     
## 
## other attached packages:
##  [1] bindrcpp_0.2.2                         
##  [2] ChIPseeker_1.18.0                      
##  [3] ReactomePA_1.26.0                      
##  [4] clusterProfiler_3.10.0                 
##  [5] ggplot2_3.1.0                          
##  [6] org.Hs.eg.db_3.7.0                     
##  [7] TxDb.Hsapiens.UCSC.hg19.knownGene_3.2.2
##  [8] GenomicFeatures_1.34.0                 
##  [9] AnnotationDbi_1.44.0                   
## [10] Biobase_2.42.0                         
## [11] GenomicRanges_1.34.0                   
## [12] GenomeInfoDb_1.18.0                    
## [13] IRanges_2.16.0                         
## [14] S4Vectors_0.20.0                       
## [15] BiocGenerics_0.28.0                    
## 
## loaded via a namespace (and not attached):
##   [1] fgsea_1.8.0                 colorspace_1.3-2           
##   [3] ggridges_0.5.1              rprojroot_1.3-2            
##   [5] qvalue_2.14.0               XVector_0.22.0             
##   [7] farver_1.0                  urltools_1.7.1             
##   [9] ggrepel_0.8.0               bit64_0.9-7                
##  [11] xml2_1.2.0                  splines_3.5.1              
##  [13] GOSemSim_2.8.0              knitr_1.20                 
##  [15] jsonlite_1.5                Rsamtools_1.34.0           
##  [17] gridBase_0.4-7              GO.db_3.7.0                
##  [19] graph_1.60.0                ggforce_0.1.3              
##  [21] graphite_1.28.0             compiler_3.5.1             
##  [23] httr_1.3.1                  rvcheck_0.1.1              
##  [25] backports_1.1.2             assertthat_0.2.0           
##  [27] Matrix_1.2-14               lazyeval_0.2.1             
##  [29] tweenr_1.0.0                htmltools_0.3.6            
##  [31] prettyunits_1.0.2           tools_3.5.1                
##  [33] igraph_1.2.2                gtable_0.2.0               
##  [35] glue_1.3.0                  GenomeInfoDbData_1.2.0     
##  [37] reshape2_1.4.3              DO.db_2.9                  
##  [39] dplyr_0.7.7                 rappdirs_0.3.1             
##  [41] fastmatch_1.1-0             Rcpp_0.12.19               
##  [43] enrichplot_1.2.0            Biostrings_2.50.0          
##  [45] gdata_2.18.0                rtracklayer_1.42.0         
##  [47] ggraph_1.0.2                stringr_1.3.1              
##  [49] gtools_3.8.1                XML_3.98-1.16              
##  [51] DOSE_3.8.0                  europepmc_0.3              
##  [53] zlibbioc_1.28.0             MASS_7.3-51                
##  [55] scales_1.0.0                reactome.db_1.64.0         
##  [57] hms_0.4.2                   SummarizedExperiment_1.12.0
##  [59] RColorBrewer_1.1-2          yaml_2.2.0                 
##  [61] memoise_1.1.0               gridExtra_2.3              
##  [63] UpSetR_1.3.3                biomaRt_2.38.0             
##  [65] triebeard_0.3.0             stringi_1.2.4              
##  [67] RSQLite_2.1.1               highr_0.7                  
##  [69] plotrix_3.7-4               checkmate_1.8.5            
##  [71] caTools_1.17.1.1            boot_1.3-20                
##  [73] BiocParallel_1.16.0         rlang_0.3.0.1              
##  [75] pkgconfig_2.0.2             matrixStats_0.54.0         
##  [77] bitops_1.0-6                evaluate_0.12              
##  [79] lattice_0.20-35             purrr_0.2.5                
##  [81] bindr_0.1.1                 labeling_0.3               
##  [83] GenomicAlignments_1.18.0    cowplot_0.9.3              
##  [85] bit_1.1-14                  tidyselect_0.2.5           
##  [87] plyr_1.8.4                  magrittr_1.5               
##  [89] R6_2.3.0                    gplots_3.0.1               
##  [91] DelayedArray_0.8.0          DBI_1.0.0                  
##  [93] pillar_1.3.0                withr_2.1.2                
##  [95] units_0.6-1                 prettydoc_0.2.1            
##  [97] RCurl_1.95-4.11             tibble_1.4.2               
##  [99] crayon_1.3.4                KernSmooth_2.23-15         
## [101] rmarkdown_1.10              viridis_0.5.1              
## [103] progress_1.2.0              grid_3.5.1                 
## [105] data.table_1.11.8           blob_1.1.1                 
## [107] digest_0.6.18               tidyr_0.8.2                
## [109] gridGraphics_0.3-0          munsell_0.5.0              
## [111] viridisLite_0.3.0           ggplotify_0.0.3

References

Ashburner, Michael, Catherine A. Ball, Judith A. Blake, David Botstein, Heather Butler, J. Michael Cherry, Allan P. Davis, et al. 2000. “Gene Ontology: Tool for the Unification of Biology.” Nat Genet 25 (1):25–29. https://doi.org/10.1038/75556.

Croft, D., A. F. Mundo, R. Haw, M. Milacic, J. Weiser, G. Wu, M. Caudy, et al. 2013. “The Reactome Pathway Knowledgebase.” Nucleic Acids Research 42 (D1):D472–D477. https://doi.org/10.1093/nar/gkt1102.

Kanehisa, Minoru, Susumu Goto, Shuichi Kawashima, Yasushi Okuno, and Masahiro Hattori. 2004. “The KEGG Resource for Deciphering the Genome.” Nucleic Acids Research 32 (suppl 1):D277–D280. https://doi.org/10.1093/nar/gkh063.

Pemberton, Helen, Emma Anderton, Harshil Patel, Sharon Brookes, Hollie Chandler, Richard Palermo, Julie Stock, et al. 2014. “Genome-Wide Co-Localization of Polycomb Orthologs and Their Effects on Gene Expression in Human Fibroblasts.” Genome Biology 15 (2):R23. https://doi.org/10.1186/gb-2014-15-2-r23.

Schriml, L. M., C. Arze, S. Nadendla, Y.-W. W. Chang, M. Mazaitis, V. Felix, G. Feng, and W. A. Kibbe. 2011. “Disease Ontology: A Backbone for Disease Semantic Integration.” Nucleic Acids Research 40 (D1):D940–D946. https://doi.org/10.1093/nar/gkr972.

Urbanucci, A, B Sahu, J Seppälä, A Larjo, L M Latonen, K K Waltering, T L J Tammela, et al. 2012. “Overexpression of Androgen Receptor Enhances the Binding of the Receptor to the Chromatin in Prostate Cancer.” Oncogene 31 (17):2153–63. https://doi.org/10.1038/onc.2011.401.

Yu, Guangchuang, and Qing-Yu He. 2016. “ReactomePA: An R/Bioconductor Package for Reactome Pathway Analysis and Visualization.” Molecular BioSystems 12 (2):477–79. https://doi.org/10.1039/C5MB00663E.

Yu, Guangchuang, Li-Gen Wang, Yanyan Han, and Qing-Yu He. 2012. “clusterProfiler: an R Package for Comparing Biological Themes Among Gene Clusters.” OMICS: A Journal of Integrative Biology 16 (5):284–87. https://doi.org/10.1089/omi.2011.0118.

Yu, Guangchuang, Li-Gen Wang, and Qing-Yu He. 2015. “ChIPseeker: An R/Bioconductor Package for Chip Peak Annotation, Comparison and Visualization.” Bioinformatics 31 (14):2382–3. https://doi.org/10.1093/bioinformatics/btv145.

Yu, Guangchuang, Li-Gen Wang, Guang-Rong Yan, and Qing-Yu He. 2015. “DOSE: An R/Bioconductor Package for Disease Ontology Semantic and Enrichment Analysis.” Bioinformatics 31 (4):608–9. https://doi.org/10.1093/bioinformatics/btu684.