beta2mtx | R Documentation |
The input should have the columns: Measure, SampleX, SampleY, Value
beta2mtx(dt, measure)
dt |
data.table, data.frame, or tibble |
measure |
which beta diversity measure (Measure column) to use? |
The output can be used for creating a PCoA. dendrogram, etc
a symmetric matrix of distances
beta2mtx(beta_div_table, measure='braycurtis') %>% calc_PCoA() %>% pcoa2df
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.