Description Usage Arguments Value Author(s) See Also Examples
Create a dendrogram tree from the distance matrix
1 | cluster_data_dend(distance_matrix, cluster_method)
|
distance_matrix |
calculated distance matrix |
cluster_method |
clustering method ("single", "complete", "average" for UPGMA, "mcquitty" for WPGMA, "median" for WPGMC, or "centroid" for UPGMC) |
A dendrogram tree object
Vinh Tran tran@bio.uni-frankfurt.de
get_data_clustering
,
get_distance_matrix
, hclust
1 2 3 4 5 6 7 8 9 | data("full_processed_profile_large", package="phyloprofile")
data <- full_processed_profile_large
profile_type <- "binary"
profiles <- get_data_clustering(
data, profile_type, var1_aggregate_by, var2_aggregate_by)
dist_method <- "mutual_information"
distance_matrix <- get_distance_matrix(profiles, dist_method)
cluster_method <- "complete"
cluster_data_dend(distance_matrix, cluster_method)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.