ggheatmap: Generate a ggplot2 heatmap with row and column dendrograms

Description Usage Arguments Examples

View source: R/ggheatmap.R

Description

Generate a ggplot2 heatmap with row and column dendrograms

Usage

1
2
3
ggheatmap(dataMatrix, orderCol = T, orderRow = T, dendroLineSize = 0.5,
  fontSize = 20, colorScheme = "Spectral", scaleName = "value",
  distMethod = "euclidean", clustMethod = "complete")

Arguments

dataMatrix

A data.frame containing the input data.

orderCol

Reorder the columns (default=T)

orderRow

Reorder the rows (default=T)

dendroLineSize

Size of the dendrogram lines (default=0.5)

fontSize

Font size (default=20)

scaleName

Name of the colorscale (default="value")

distMethod

Distance method (default="euclidean", see ?dist)

clustMethod

Clustering method (default="complete", see ?hclust)

colorPalette

Color palette (default="Spectral")

Examples

1

tleonardi/ggheatmap documentation built on May 21, 2019, 12:05 p.m.