Description Usage Arguments Value Author(s) Examples
PomaBoxplots() generates a boxplot for subjects or features. This boxplot can help in the comparison between pre and post normalized data and in the "validation" of the normalization process.
1 2 3 4 5 6 7 |
data |
A MSnSet object. First |
group |
Groupping factor for the plot. Options are "samples" and "features". Option "samples" (default) will create a boxplot for each sample and option "features" will create a boxplot of each variable. |
jitter |
Logical. If it's TRUE (default), the boxplot will show all points. |
feature_name |
A vector with the name/s of feature/s to plot. If it's NULL (default) a boxplot of all features will be created. |
label_size |
Numeric indicating the size of x-axis labels. |
A ggplot2 object.
Pol Castellano-Escuder
1 2 3 4 5 6 7 8 9 10 11 | data("st000284")
# samples
PomaBoxplots(st000284)
# features
PomaBoxplots(st000284, group = "features")
# concrete features
PomaBoxplots(st000284, group = "features",
feature_name = c("ornithine", "orotate"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.