Description Usage Arguments Value Examples
View source: R/diversity_beta_heatmap.R
Beta diversity heatmap
| 1 2 3 4 5 6 7 | diversity_beta_heatmap(
  MAE,
  tax_level,
  input_beta_method,
  input_bdhm_select_conditions,
  input_bdhm_sort_by = c("nosort", "conditions")
)
 | 
| MAE | A multi-assay experiment object | 
| tax_level | The taxon level used for organisms | 
| input_beta_method | bray, jaccard | 
| input_bdhm_select_conditions | Which condition to group samples | 
| input_bdhm_sort_by | Sorting option e.g. "nosort", "conditions" | 
A plotly object
| 1 2 3 4 5 6 7 8 | data_dir = system.file("extdata/MAE.rds", package = "animalcules")
toy_data <- readRDS(data_dir)
p <- diversity_beta_heatmap(toy_data,
                            tax_level = "genus",
                            input_beta_method = "bray",
                            input_bdhm_select_conditions = "DISEASE",
                            input_bdhm_sort_by = "conditions")
p
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.