Gcluster: Difference between revisions
imported>Jeremy (Importing text file) |
imported>Jeremy (Importing text file) |
||
Line 1: | Line 1: | ||
===Purpose=== | ===Purpose=== | ||
K-means and K-nearest neighbor cluster analysis with dendrograms. | K-means and K-nearest neighbor cluster analysis with dendrograms. | ||
===Synopsis=== | ===Synopsis=== | ||
:gcluster(data,''labels'') | :gcluster(data,''labels'') | ||
===Description=== | ===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) 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. | 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. | Note: Calling gclster with no inputs starts the graphical user interface (GUI) for this analysis method. | ||
===See Also=== | ===See Also=== | ||
[[cluster]], [[simca]] | [[cluster]], [[simca]] |
Revision as of 14:25, 3 September 2008
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.