cluster_data_dend: Create a dendrogram tree from the distance matrix

Description Usage Arguments Value Author(s) See Also Examples

Description

Create a dendrogram tree from the distance matrix

Usage

1
cluster_data_dend(distance_matrix, cluster_method)

Arguments

distance_matrix

calculated distance matrix

cluster_method

clustering method ("single", "complete", "average" for UPGMA, "mcquitty" for WPGMA, "median" for WPGMC, or "centroid" for UPGMC)

Value

A dendrogram tree object

Author(s)

Vinh Tran tran@bio.uni-frankfurt.de

See Also

get_data_clustering, get_distance_matrix, hclust

Examples

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)

trvinh/test documentation built on May 9, 2019, 2:26 a.m.