pheat_cluster: Add cluster dendrograms to heatmap

Description Usage Arguments Value Examples

Description

Add cluster dendrograms to heatmap

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
pheat_cluster_rows(
  ph,
  distance = "euclidean",
  method = "complete",
  custom = NULL
)

pheat_cluster_cols(
  obj,
  distance = "euclidean",
  method = "complete",
  custom = NULL
)

Arguments

ph

Heatmap of class "pheat"

distance

Distance measure, as listed for dist

method

Clustering method, passed to hclust

custom

Custom hclust object for clustering

Value

A modified heatmap of class "pheat"

Examples

1
2
3

kylebittinger/pheatbuilder documentation built on Dec. 21, 2021, 8:45 a.m.