plot.ggrasp: plot.ggrasp

View source: R/utils.R

plot.ggraspR Documentation

plot.ggrasp

Description

plots a class GGRaSP variable either the full tree, a reduced tree, or the gmm.

Usage

## S3 method for class 'ggrasp'
plot(x, type, layout = "circular", ...)

Arguments

x

ggrasp-class object to be plotted

type

Type of plot generated, either "tree" (the full tree with the clusters shown as grouped leaves), "reduced" (tree with only the medoids shown), "hist" (histogram of the distribution of the distances) or "gmm" (histogram of the distances overlayed with the Gaussian distributions)

layout

The layout style of the tree, either "circular" (default), "radial", "slanted", "linear" or "rectangular" ("linear" or "rectangular" are the same).

...

ignored

Value

A ggplot object containing the plot. It can be printed to standard output or saved using ggsave.


JCVenterInstitute/GGRaSP documentation built on Feb. 16, 2024, 2:15 p.m.