Giter Club home page Giter Club logo

ggheatmap's Introduction

ggheatmap: Elegant Heatmaps with ggplot2

CRAN Status Badge CRAN Downloads CRAN Downloads Build Status Build status Coverage Status

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.

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 soon. Install the release version via:

install.packages("ggheatmap")

If you are interested in trying out and playing around with the current github developer version use the devtools package and type the following command in R:

devtools::install_github("jakobbossek/ggheatmap")

Contact

Please address questions and missing features about the ggheatmap to the author Jakob Bossek [email protected]. Found some nasty bugs? Please use the issue tracker 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.

ggheatmap's People

Contributors

jakobbossek avatar mbergins avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.