Description Usage Arguments Examples
Draws a boxplot of feature abundances in each group. A separate plot is drawn for each feature.
1 2 3 |
object |
a MetaboSet object |
all_features |
logical, should all features be used? If FALSE (the default), flagged features are removed before visualization. |
file |
path to the PDF file where the plots should be saved |
width, height |
width and height of the plots in inches |
x |
character, name of the column to be used as x-axis |
color |
character, name of the column to be used for coloring |
color_scale |
the color scale as returned by a ggplot function |
1 2 3 4 5 6 7 8 | ## Not run:
# Default boxplots by group
save_group_boxplots(drop_qcs(merged_sample), file = "boxplots.pdf")
# x and color can be a different variable
save_group_boxplots(drop_qcs(merged_sample), file = "boxplots_time.pdf",
x = "Time", color = "Group")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.