Description Usage Arguments Value Author(s) See Also Examples
Performs hierarchical cluster analysis given a distance measure and an agglomeration method, and produces a dendrogram.
1 2 3 4 5 |
featuredata |
A data frame in the featuredata format. This should have sample names in the first column to be read as row names and the metabolomics variables in the remaining columns. |
groupdata |
A data frame or a table with optional sample names in the first column to be read as row names and group names in the following column. |
saveplot |
A logical indication whether to save the dendrogram produced. |
plotname |
Name of the output file if the file is to be saved. |
savetype |
The required format for the plot to be saved in. Threre is a
choice of |
distmethod |
The distance measure to be used. This must be one of
" |
aggmethod |
The agglomeration method to be used. This should be one of
" |
main |
Plot title. |
cex |
A numerical value giving the amount by which plotting text and symbols should be magnified relative to the default. |
clust |
A logical indicating whether the results from heirarchical clustering should be grouped |
rect |
A logical indicatng whether rectanges should be drawn highlighting the groups from clust above |
nclust |
The desired number of clusters for clust or rect. |
height |
The desifed height to obtain clusters for clust or rect. Either nclust or height must be supplied for clust or rect. |
bordercol |
If rect=TRUE, a vector with border colors for the rectangles. |
... |
Arguments to be passed on to other methods. |
A dendrogram plot and a list containing an object of class ‘hclust’ and a vector with cluster membership if clust or rect is set to TRUE.
Alysha M De Livera, Gavriel Olshansky
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.