clusteredCorrplot: Correlation plot with dendograms

Description Usage Arguments Examples

View source: R/ggplotHeatmap.R

Description

Plots a correlation plot with dendograms using ggplot2

Usage

1
clusteredCorrplot(x, hc, k = NULL, dendogram_colors = NULL)

Arguments

x

data matrix

hc

hierarchical clustering (output of hclust)

k

number of clusters

dendogram_colors

cluster colors in dendogram (length should be k)

Examples

1
2
hc <- hclust(as.dist(1-cor(trees)))
clusteredCorrplot(trees, hc, 2, c("red", "blue"))

oliviermfmartin/HelpingHand documentation built on Oct. 10, 2020, 5:59 a.m.