Learn R Programming

heatmaply (version 0.7.1)

ggheatmap: Creates a ggplot2 heatmap

Description

An object of class heatmapr includes all the needed information for producing a heatmap. The goal is to seperate the pre-processing of the heatmap elements from the graphical rendaring of the object, which could be done

Usage

ggheatmap(x, ...)

Arguments

x
can either be a heatmapr object, or a numeric matrix Defaults to TRUE unless x contains any NAs.
...
other parameters passed to heatmapr (currently, various parameters may be ignored.

Examples

Run this code
## Not run: 
# 
# library(heatmaply)
# x <- heatmapr(iris[,-5], scale = "column", colors = "Blues")
# ggheatmap(x)
# 
# 
# ## End(Not run)

Run the code above in your browser using DataLab