ggheatmap: Makes heatmap

Description Usage Arguments Value

View source: R/ggheatmap.R

Description

Makes heatmap

Usage

1
2
3
4
ggheatmap(X, xlabel = NA, ylabel = NA, guide = "Value", name = NA,
  colors = NULL, midpoint = NULL, limits = NA, fixed = FALSE,
  guidebreaks = NA, cluster_row = FALSE, cluster_col = FALSE,
  cluster_row_dist = stats::dist, cluster_col_dist = stats::dist)

Arguments

X

matrix with values to plot as heatmap

xlabel

label for x axis

ylabel

label for y axis

guide

label for guide

name

title

colors

colors for scale

midpoint

midpoint for color scale if 3 colors given

limits

limits for y axis

fixed

wether x and y axes should be on same scale

guidebreaks

breaks for color scale

cluster_row

should rows be clustered? (default = FALSE)

cluster_col

should columns be clustered? (default = FALSE)

cluster_row_dist

distance function for clustering rows (default = stats::dist)

cluster_col_dist

distance function for clustering columns (default = stats::dist)

Value

ggplot


AliciaSchep/rplotfriend documentation built on May 5, 2019, 4:54 a.m.