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 |
[](https://travis-ci.org/jokergoo/ComplexHeatmap)
[](https://codecov.io/github/jokergoo/ComplexHeatmap)
[](https://bioconductor.org/packages/stats/bioc/ComplexHeatmap/)
|
1baeaa63 |
[](https://bioconductor.org/packages/stats/bioc/ComplexHeatmap/)
|
37cee355 |
[](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 |

|
9ec27f9a |
|
80a70124 |
#### Correlations between methylation, expression and other genomic features
|
9ec27f9a |
|
80a70124 |

|
9ec27f9a |
|
80a70124 |
#### Visualize Cell Heterogeneity from Single Cell RNASeq
|
9ec27f9a |
|
80a70124 |

|
9ec27f9a |
|
80a70124 |
#### Making Enhanced OncoPrint
|
9ec27f9a |
|
80a70124 |

|
c157a758 |
|
bbf62489 |
#### UpSet plot

|
c157a758 |
### License
|
80a70124 |
MIT @ Zuguang Gu
|