PomaBoxplots {POMA} | R Documentation |
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.
PomaBoxplots( data, group = "samples", jitter = TRUE, feature_name = NULL, label_size = 10 )
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
data("st000284") # samples PomaBoxplots(st000284) # features PomaBoxplots(st000284, group = "features") # concrete features PomaBoxplots(st000284, group = "features", feature_name = c("ornithine", "orotate"))