calc_mean_dissimilarities | R Documentation |
Calculate mean dissimilarities across all levels of a given factor
calc_mean_dissimilarities( dm, metadata_map, summarize_by_factor, return_map = FALSE )
dm |
Dissimilarity matrix - typically created using
|
metadata_map |
The metadata mapping dataframe. |
summarize_by_factor |
Category in mapping file to summarize by. |
return_map |
Whether or not to return summarized mapping files. If true, will return a list (default: FALSE). |
Mean dissimilarities.
DM = calc_dm(fruits_veggies$data_loaded) MD = calc_mean_dissimilarities(DM, fruits_veggies$map_loaded, "Sample_type")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.