## Not run: ------------------------------------
#
# # we prepare a PCA with shorter names
# olea_lite <- olea
# names(olea_lite) <- as.character(olea$fac$var)
# x <- olea_lite %>% opoly(5) %>% PCA()
#
# # By default
# CLUST(x)
#
# # With a fac
# CLUST(x, 1)
#
# # plot.phylo types
# CLUST(x, "var", type="cladogram")
# CLUST(x, "var", type="phylogram")
# CLUST(x, "var", type="radial")
# CLUST(x, "var", type="unrooted")
#
# # other dist/hclust methods
# CLUST(x, "var", layout="cladogram", dist_method="minkowski", hclust_method="average")
#
# # With another
# CLUST(x, "domes", tip_labels="var", palette=col_india)
#
# # Alternative ways to pass a factor
# CLUST(x, 1)
# CLUST(x, "var")
# CLUST(x, ~var)
# # Strict equivalent before but formula allows this:
# CLUST(x, ~ domes + var, tip_labels = ~ domes + var)
#
# # More arguments to plot.phylo
# CLUST(x, cex=0.5)
#
## ---------------------------------------------
Run the code above in your browser using DataLab