Description Usage Arguments See Also Examples
Plots the change in the feature abundances as a function of e.g. time. A line is drawn for each group and error bars are added. A separate plot is drawn for each feature.
1 2 3 4 |
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 |
group |
character, name of the column containing group information, used for coloring |
fun.data |
passed to ggplot2::stat_summary and used for errorbars, "A function that is given the complete data and should return a data frame with variables ymin, y, and ymax." |
fun.ymin, fun.y, fun.ymax |
Alternative to fun.data, passed to ggplot2::stat_summary, "supply three individual functions that are each passed a vector of x's and should return a single number" |
color_scale |
the color scale as returned by a ggplot function |
position_dodge_amout |
numeric: how much the group mean points should dodge away from each other |
1 | ## Not run: save_group_lineplots(drop_qcs(merged_sample), file = "group_lineplots.pdf")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.