README.md
80a70124
 <a href="https://jokergoo.github.io/ComplexHeatmap-reference/book/"><img src="https://jokergoo.github.io/ComplexHeatmap-reference/book/complexheatmap-cover.jpg" width=240 align="right" style="border:2px solid black;" ></a>
 
37cee355
 [![Build Status](https://travis-ci.org/jokergoo/ComplexHeatmap.svg)](https://travis-ci.org/jokergoo/ComplexHeatmap) 
 [![codecov](https://img.shields.io/codecov/c/github/jokergoo/ComplexHeatmap.svg)](https://codecov.io/github/jokergoo/ComplexHeatmap) 
 [![bioc](http://www.bioconductor.org/shields/downloads/ComplexHeatmap.svg)](https://bioconductor.org/packages/stats/bioc/ComplexHeatmap/) 
1baeaa63
 [![bioc](http://mcube.nju.edu.cn/cgi-bin/zuguanggu/bioc_download.pl?package=ComplexHeatmap&)](https://bioconductor.org/packages/stats/bioc/ComplexHeatmap/) 
37cee355
 [![bioc](http://www.bioconductor.org/shields/years-in-bioc/ComplexHeatmap.svg)](http://bioconductor.org/packages/devel/bioc/html/ComplexHeatmap.html)
56aa1a09
 
c157a758
 ## Make Complex Heatmaps
ecf81914
 
80a70124
 Complex heatmaps are efficient to visualize associations between different
 sources of data sets and reveal potential patterns. Here the
 **ComplexHeatmap** package provides a highly flexible way to arrange multiple
 heatmaps and supports various annotation graphics.
487841b3
 
8bf343c5
 ### Citation
 
 Zuguang Gu, Roland Eils and Matthias Schlesner, [Complex heatmaps reveal patterns and correlations in multidimensional genomic data](http://bioinformatics.oxfordjournals.org/content/early/2016/05/20/bioinformatics.btw313.abstract), Bioinformatics, 2016
 
80a70124
 ### Documentation
487841b3
 
80a70124
 The full documentations are available at https://jokergoo.github.io/ComplexHeatmap-reference/book/.
f8ef1599
 
9ec27f9a
 ### Install
 
03d6a867
 `ComplexHeatmap` is available on [Bioconductor](http://www.bioconductor.org/packages/devel/bioc/html/ComplexHeatmap.html), you can install it by:
f8ef1599
 
 ```{r}
96ed1229
 if (!requireNamespace("BiocManager", quietly=TRUE))
     install.packages("BiocManager")
 BiocManager::install("ComplexHeatmap")
f8ef1599
 ```
 
1dc4aa64
 If you want the latest version, install it directly from GitHub:
 
 ```{r}
 library(devtools)
 install_github("jokergoo/ComplexHeatmap")
 ```
 
9ec27f9a
 ### Usage
ecf81914
 
 Make a single heatmap:
 
 ```{r}
487841b3
 Heatmap(mat, ...)
ecf81914
 ```
 
 A single Heatmap with column annotations:
 
 ```{r}
b2a412a5
 ha = HeatmapAnnotation(df = anno1, anno_fun = anno2, ...)
487841b3
 Heatmap(mat, ..., top_annotation = ha)
ecf81914
 ```
 
 Make a list of heatmaps:
 
 ```{r}
487841b3
 Heatmap(mat1, ...) + Heatmap(mat2, ...)
ecf81914
 ```
 
 Make a list of heatmaps and row annotations:
 
 ```{r}
083b994f
 ha = HeatmapAnnotation(df = anno1, anno_fun = anno2, ..., which = "row")
487841b3
 Heatmap(mat1, ...) + Heatmap(mat2, ...) + ha
ecf81914
 ```
 
80a70124
 ### Examples
9ec27f9a
 
80a70124
 #### Visualize Methylation Profile with Complex Annotations
9ec27f9a
 
80a70124
 ![complexheatmap_example4](https://user-images.githubusercontent.com/449218/47718635-2ec22980-dc49-11e8-9f01-37becb19e0d5.png)
9ec27f9a
 
80a70124
 #### Correlations between methylation, expression and other genomic features
9ec27f9a
 
80a70124
 ![complexheatmap_example3](https://user-images.githubusercontent.com/449218/47718636-2ec22980-dc49-11e8-8db0-1659c27dcf40.png)
9ec27f9a
 
80a70124
 #### Visualize Cell Heterogeneity from Single Cell RNASeq
9ec27f9a
 
80a70124
 ![complexheatmap_example2](https://user-images.githubusercontent.com/449218/47718637-2ec22980-dc49-11e8-925e-955c16cfa982.png)
9ec27f9a
 
80a70124
 #### Making Enhanced OncoPrint
9ec27f9a
 
80a70124
 ![complexheatmap_example1](https://user-images.githubusercontent.com/449218/47718638-2ec22980-dc49-11e8-845e-21e51d3b8e73.png)
c157a758
 
bbf62489
 #### UpSet plot
 
 ![](https://pbs.twimg.com/media/Dvpp31uX4AAqGDP.jpg:large)
 
c157a758
 ### License
 
80a70124
 MIT @ Zuguang Gu