Description Usage Arguments Value Note Author(s) See Also Examples
Calculate the distance matrix
1 | get_distance_matrix(profiles, method)
|
profiles |
profile data for distance calculating |
method |
distance calculation method ("euclidean", "maximum", "manhattan", "canberra", "binary", "distance_correlation", "mutual_information" or "pearson" for binary data; "distance_correlation" or "mutual_information" for non-binary data) |
A distance matrix for input phylogenetic profiles.
Documented by Vinh Tran (tran@bio.uni-frankfurt.de)
Carla Mölbert (carla.moelbert@gmx.de)
1 2 3 4 5 6 7 | 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)
method <- "mutual_information"
get_distance_matrix(profiles, method)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.