heatmap.overlaps: Plot heatmat

Description Usage Arguments Value Examples

Description

Plot heatmat to visualize multiple Venn diagram.

Usage

1
2
heatmap.overlaps(x, legend = NA, xlab = NA, ylab = NA, col = NA,
  lim = NA, x.axis.angle = 90)

Arguments

x

A matrix object or a list object with two-levels.

legend

A legend for colors.

xlab

A label for the x axis.

ylab

A label for the y axis.

col

A character vector of colors. Default is Spectral color palette in RColorBrewer package.

lim

A range of values.

x.axis.angle

A angle for labels in x axis. Default is 90 degrees.

Value

ggplot class object

Examples

1
2
3
4
5
6
7
mat <- matrix(rnbinom(135, size = 10, prob = 0.2), nrow = 15, ncol = 9)
colnames(mat) <- paste0("Treat", 1:9)
rownames(mat) <- c("a", "b", "c", "d", "ab", "ac", "ad", "bc", "bd", "cd",
                   "abc", "abd", "acd", "bcd", "abcd")
head(mat)

heatmap.overlaps(mat)

bioplots documentation built on May 1, 2019, 8:01 p.m.