plot.lcc {longmixr}R Documentation

Plot a longitudinal consensus clustering

Description

Plot a longitudinal consensus clustering

Usage

## S3 method for class 'lcc'
plot(x, color_palette = NULL, ...)

Arguments

x

lcc object (output from longitudinal_consensus_cluster)

color_palette

optional character vector of colors for consensus matrix

...

additional parameters for plotting; currently not used

Value

Plots the following plots:

consensus matrix legend the legend for the following consensus matrix plots
consensus matrix plot for every specified number of clusters, a heatmap of the consensus matrix and the result of the final clustering is shown
consensus CDF a line plot of the CDFs for all different specified numbers of clusters
Delta area elbow plot of the difference in the CDFs between the different numbers of clusters
tracking plot cluster assignment of the subjects throughout the different cluster solutions
item-consensus for every item (subject), calculate the average consensus value with all items that are assigned to one consensus cluster. This is repeated for every cluster and for all different numbers of clusters
cluster-consensus every bar represents the average pair-wise item-consensus within one consensus cluster

[Package longmixr version 1.0.0 Index]