myheatmap: Plot the heat map

Description Usage Arguments Details Value

View source: R/myheatmap.R

Description

Another bespoke function for Quan Seminar talk.

Usage

1
2
3
4
5
6
7
8
9
myheatmap(
  dend,
  kobject,
  main.n = 3,
  sub.n = 7,
  ramp = c("mean", "var"),
  ramp.type = 1,
  plotit = TRUE
)

Arguments

dend

Dendogram object

kobject

Object out of kmeans()

main.n

The number of main clusters. These will have different colors.

sub.n

The number of sub levels. This will have different shades.

ramp

How to create the shading.

ramp.type

Type of ramping of the shades.

plotit

If TRUE, plot the heat map.

Details

Notes: Probably too customized and prelimanary to keep.

Value

A ggplot object.


UW-Upwelling-Project/imageryML documentation built on Dec. 18, 2021, 6:11 p.m.