Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jakobbossek/ggheatmap
Elegant Heatmaps with ggplot2
https://github.com/jakobbossek/ggheatmap
Last synced: 4 months ago
JSON representation
Elegant Heatmaps with ggplot2
- Host: GitHub
- URL: https://github.com/jakobbossek/ggheatmap
- Owner: jakobbossek
- License: gpl-2.0
- Created: 2018-09-27T08:19:59.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-05-05T17:17:04.000Z (almost 3 years ago)
- Last Synced: 2024-10-11T18:33:07.684Z (4 months ago)
- Language: R
- Size: 14.6 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ggheatmap: Elegant Heatmaps with ggplot2
[](http://cran.r-project.org/web/packages/ggheatmap)
[](http://cran.rstudio.com/web/packages/ggheatmap/index.html)
[](http://cran.rstudio.com/web/packages/ggheatmap/index.html)
[](https://travis-ci.org/jakobbossek/ggheatmap)
[](https://ci.appveyor.com/project/jakobbossek/ggheatmap/branch/master)
[](https://coveralls.io/github/jakobbossek/ggheatmap?branch=master)## What is this all about?
The package offers a single exported function, namely `ggheatmap`, which takes a data frame, a matrix or a (named) list of matrices and generates a nice heatmap with [ggplot2](https://ggplot2.tidyverse.org).
```r
library(ggheatmap)data(mtcars)
cor.mat = cor(mtcars)# Basic heatmap
pl = ggheatmap::ggheatmap(cor.mat)# Customized heatmap
pl = ggheatmap::ggheatmap(cor.mat, type = "lower.tri", show.diag = FALSE, show.values = TRUE, digits = 1L)# Now we simulate two non-square matrices
x = matrix(runif(50L), ncol = 5L)
y = matrix(runif(50L), ncol = 5L)pl = ggheatmap::ggheatmap(list(X = x, Y = y), range = c(0.1, 0.9), value.name = "Range")
```## Installation Instructions
The package will be available at [CRAN](http://cran.r-project.org) soon. Install the release version via:
```r
install.packages("ggheatmap")
```
If you are interested in trying out and playing around with the current github developer version use the [devtools](https://github.com/hadley/devtools) package and type the following command in R:```r
devtools::install_github("jakobbossek/ggheatmap")
```## Contact
Please address questions and missing features about the **ggheatmap** to the author Jakob Bossek . Found some nasty bugs? Please use the [issue tracker](https://github.com/jakobbossek/ggheatmap/issues) for this. Pay attention to explain the problem as good as possible. At its best you provide an example, so I can reproduce your problem quickly.