View source: R/core_resistome.R
Create a circular graph showing the core ARGs for each ARG Class
1 2 3 4 5 6 7 | createCircularGraph(
data_arg,
hjust_val = rep(0, length(unique(data_arg$boot_ci$Drug.Class))),
distance_labels = -25,
bar_label_size,
group_label_size
)
|
hjust_val |
A numerical vector with the position of the ARG class text for each ARG class |
distance_labels |
A numeric stating distance from the ARG class text and the x-axis |
data |
A dataframe with the percentage of samples that contain each ARG |
by_cohort |
A boolean stating whether the bars for each cohort should be side-by-side (TRUE) stacked (FALSE) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.