Description Usage Arguments Value Author(s) Examples
PomaDensity() generates a density plot of not normalized and normalized MS data. This plot can help in the comparison between pre and post normalized data and in the "validation" of the normalization process.
1 | PomaDensity(data, group = "samples", feature_name = NULL)
|
data |
A MSnSet object. First |
group |
Groupping factor for the plot. Options are "samples" and "features". Option "samples" (default) will create a density plot for each group and option "features" will create a density plot of each variable. |
feature_name |
A vector with the name/s of feature/s to plot. If it's NULL (default) a density plot of all variables will be created. |
A ggplot2 object.
Pol Castellano-Escuder
1 2 3 4 5 6 7 8 9 10 11 | data("st000284")
# samples
PomaDensity(st000284)
# features
PomaDensity(st000284, group = "features")
# concrete features
PomaDensity(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.