plotDist.matrix: Plot distance matrix with clusters

Description Usage Arguments Details Author(s)

View source: R/plot_ckmeans.R

Description

Plots a distance matrix with color coded clusters

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## S3 method for class 'matrix'
plotDist(
  x,
  cl = NULL,
  value_range = NULL,
  ord = TRUE,
  col = NULL,
  col_cl = NULL,
  plot_colorbar = FALSE,
  ...
)

Arguments

x

n*n (distance) matrix

cl

vector determining cluster membership

value_range

vector with two elements c(d_min, d_max) determining the possible value range within the matrix. By default this will be the range of values in x.

ord

vectors of indices for ordering of the matrix or boolean determining whether the matrix should be ordered

col

vector of colors for the distance matrix

col_cl

vector of colors or color ramp function for the clusters

plot_colorbar

logical determining whether a color bar should be plotted

...

further arguments

Details

Function to plot a distance matrix

Author(s)

Tankred Ott


TankredO/ckmeans documentation built on April 5, 2020, 12:59 a.m.