https://github.com/michbur/dendrolenda
Dendrograms for the best Rafal ever
https://github.com/michbur/dendrolenda
dendrogram dendrogram-heatmap ggplot2 r
Last synced: 4 months ago
JSON representation
Dendrograms for the best Rafal ever
- Host: GitHub
- URL: https://github.com/michbur/dendrolenda
- Owner: michbur
- Created: 2020-08-06T18:25:38.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-09T07:10:13.000Z (over 5 years ago)
- Last Synced: 2025-09-10T16:05:43.624Z (4 months ago)
- Topics: dendrogram, dendrogram-heatmap, ggplot2, r
- Language: R
- Homepage: http://burdukiewicz.com/dendrolenda/
- Size: 1.7 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
Awesome Lists containing this project
README
---
title: "dendrolenda"
output: github_document
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```

Package for alignment of dendrogram plots with heatmap in ggplot2.
## Background
*dendrolenda* is a freely available software that allows users to visualize
their data in the form of heat maps. It has an easy-to-use interface and makes
alignments of dendrograms plots with heatmaps work like a charm.
## Installation
*dendrolenda* is available on [github](https://github.com/michbur/dendrolenda).
One can install the latest development version of the code using the following
code:
```R
if("remotes" %in% rownames(installed.packages()) == FALSE) {
install.packages("remotes")
}
remotes::install_github("https://github.com/michbur/dendrolenda")
```
## Usage
```{r}
library(ggplot2)
library(dendrolenda)
data(example_data)
dendro_top <- plot_dendrogram(d1)
dendro_right <- plot_dendrogram(d2) + coord_flip()
# Plot aligned dendrograms with legend at the bottom
arrange_dendrogram(hm + theme_bw() + theme(legend.position = "bottom"),
dendro_top + theme_void(), dendro_right + theme_void())
```