Boxplot showing the accuracy of a metric against a selected feature
1 2 3 4 5 6 7 8 9 10 11 12 13 | acc_over_feature(
rdata,
one_metric,
feature,
color_by,
max_y = NA,
rotation = 0,
num_rotation = 0,
signif_y = NA,
comparison = NULL,
AP = NULL,
remove_NA = F
)
|
rdata |
a dataframe |
one_metric |
the y axis |
feature |
the x axis |
color_by |
fill the boxes |
max_y |
manually cap the maximum of y axis in case outlier occurs |
rotation |
rotation of x axis labels |
num_rotation |
rotation of the labels for the number of samples for each bar |
comparison |
whether to compute Kruskal-Wallis test |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.