ggtile: Plot a numeric matrix

Description Usage Arguments Value

Description

Convenience function for plotting a numeric matrix as colored tiles using ggplot with row and column order preserved. Combine with cluster for a clustered heatmap.

Usage

1
ggtile(m, diverging = TRUE, ...)

Arguments

m

A numeric matrix

diverging

Logical. Whether to use a diverging color scale.

...

other arguments passed to scale_fill_gradient discrete_scale.

Value

A ggplot object.


EricEdwardBryant/biogridr documentation built on May 6, 2019, 4:02 p.m.