Description Usage Arguments Value Author(s) Examples
This function plot hierarchical cluster Of ecology data set.
1 2 3 4 |
data |
an ecology data set to be analyzed. |
is.OTU |
logical. If an OTU table was provided, |
meta |
the metadata table associated with ecology data set. |
rank |
optional. If no |
top |
the top otuIDs or taxa to be considered for the clustering
analysis. See also |
mode |
either be "number" or "percent".
See also |
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 was provided, numeric data will be transformed.
See also |
dist |
optional. If was provided, distance matrix will be calculated
using the given method; otherwise use vegdist default
Bray-Curtis method.
See also |
clust |
optional. If was 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 returns a tree plot of the hierarchical cluster of the samples based on ecological data.
Wen Chen
1 2 3 4 5 6 |
Loading required package: vegan
Loading required package: permute
Loading required package: lattice
This is vegan 2.4-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"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.