Gcluster
Purpose
K-means and K-nearest neighbor cluster analysis with dendrograms.
Synopsis
- gcluster(data,labels)
Description
gclster(data) performs a cluster analysis on the data matrix data using K-means or K-nearest neighbor clustering and plots a dendrogram showing distances between the samples. gcluster is a graphical user interface that calls the function cluster. The user can choose cluster method (K-means or KNN), and data scaling options. PCA can also be used on the data with distances based on raw scores or on a Mahalanobis distance measure.
gclster(data,labels) plots on the dendrogram sample names contained in the matrix of text labels. labels can be entered as a matrix where each row is a label in single quotes and each label has the same number of characters.
Note: Calling gclster with no inputs starts the graphical user interface (GUI) for this analysis method.