ALDEX | R Documentation |
ALDEX
ALDEX(otutab, group_df)
otutab |
otutab |
group_df |
a dataframe with rowname same to dist and one group column |
diff
https://cloud.tencent.com/developer/article/1621879
if (requireNamespace("ALDEx2")) {
data(otutab, package = "pcutils")
ALDEX(otutab, metadata["Group"]) -> res
res %>%
dplyr::top_n(9, -glm.eBH) %>%
.[, "tax"] -> sig
data.frame(t(otutab[sig, ])) %>% pcutils::group_box(., "Group", metadata)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.