Description Usage Arguments Value Author(s) See Also Examples
This function plot hierarchical cluster Of metadata.
1 2 3 |
meta |
the metadata table to be clustered. |
group |
an integer or a metadata variable. If an integar, will cut tree into corresponding groups and color them accordingly; if a metadata variable was provided, tree leaves (sampleIDs) will be colored by each level. |
data.trans |
optional. If provided, numeric data will be transformed.
See also |
dist |
optional. If provided, distance matrix will be calculated
using the give method for numeric variables; otherwise use
|
clust |
optional. If not provided, will use the default agglomeration
method used by hclust, i.e. "complete". Otherwise, will used
user defined method for clustering.
See also |
type |
optional. Can be one of the following: "triangle", "rectangle", "phylogram", "cladogram", "fan", "unrooted", "radial". |
main |
The title of the plot. |
file |
optional. Filename that the plot to be saved to. |
ext |
optional. File type that the plot to be saved to. |
width |
an integer, width of the plot. |
height |
an integer, height of the plot. |
This function return a plot of the hierarchical cluster analysis on a set of metadata.
Wen Chen
1 2 3 4 5 6 |
Loading required package: vegan
Loading required package: permute
Loading required package: lattice
This is vegan 2.5-4
Loading required package: ggplot2
sh: 1: cannot create /dev/null: Permission denied
sh: 1: cannot create /dev/null: Permission denied
[1] "A total of 1 columns are removed: Harvestdate"
[1] "columns in exclude list: "
[1] "column# with missing data: "
[1] "columns# with one level: "
[1] "column# that are not numeric or factor: 6"
[1] "A total of 1 columns are removed: Harvestdate"
[1] "columns in exclude list: "
[1] "column# with missing data: "
[1] "columns# with one level: "
[1] "column# that are not numeric or factor: 6"
[1] "A total of 1 columns are removed: Harvestdate"
[1] "columns in exclude list: "
[1] "column# with missing data: "
[1] "columns# with one level: "
[1] "column# that are not numeric or factor: 6"
[1] "A total of 1 columns are removed: Harvestdate"
[1] "columns in exclude list: "
[1] "column# with missing data: "
[1] "columns# with one level: "
[1] "column# that are not numeric or factor: 6"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.