Beta diversity heatmap
diversity_beta_heatmap(
MAE,
tax_level,
input_beta_method,
input_bdhm_select_conditions,
input_bdhm_sort_by = c("nosort", "conditions")
)
A multi-assay experiment object
The taxon level used for organisms
bray, jaccard
Which condition to group samples
Sorting option e.g. "nosort", "conditions"
A plotly object
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"
)
#> No scatter mode specifed:
#> Setting the mode to markers
#> Read more about this attribute -> https://plotly.com/r/reference/#scatter-mode
p