Visualisation of the results of hierarchical clustering. For other clustering visualisations see vis.immunr_kmeans.

# S3 method for immunr_hclust
vis(.data, .rect = F, .plot = c("clust", "best"), .return.grob = F, ...)

Arguments

.data

Clustering results from repOverlapAnalysis or geneUsageAnalysis.

.rect

Passed to fviz_dend - whether to add a rectangle around groups.

.plot

A character vector of length one or two specifying which plots to visualise. If "clust" then plot only the clustering. If "best" then plot the number of optimal clusters. If both then plot both.

.return.grob

If TRUE then return grob instead of plot.

...

Not used here.

See also