Circlepack plot based on ggplot2
microbiome_dataset
label levels
intensity or log_intensity
other params
ggplot2 class object
library(microbiomeplot)
data("global_patterns")
global_patterns %>%
activate_microbiome_dataset(what = "variable_info") %>%
filter(Kingdom == "Archaea") %>%
plot_circlepack(label_level = "Class")
#> Non-leaf weights ignored
#> Warning: Removed 62 rows containing missing values (geom_label_repel).