Visualize intensities of compounds with missing values
Source:R/metabolomics_plots.R
met.plot_detect.Rd
met.plot_detect
generates density and CumSum plots
of compound intensities with and without missing values.
Usage
met.plot_detect(
mSetObj,
plot = TRUE,
imgName = "Plots/DensMissPlot",
format = "pdf",
export = TRUE,
basesize = 10
)
Arguments
- mSetObj
Input name of the created mSet object, Data container with missing values.
- plot
(Logical,
TRUE
orFALSE
) Shall the plot be returned in the RStudio 'Plots' pane?- imgName
(Character) Enter a name for the image file (if
export = TRUE
).- format
(Character,
"png"
or"pdf"
) image file format (ifexport = TRUE
).- export
(Logical,
TRUE
orFALSE
) Shall the plot be exported as PDF and PNG file?- basesize
(Numeric) Font sized used in the plot.
Value
Density and CumSum plots of intensities of proteins with and without missing values. The plot can be retrieved from within R via print(mSetObj$imgSet$missval_density.plot)
.
(generated by ggplot
).
References
adapted from package DEP (https://bioconductor.org/packages/DEP/).
Author
Nicolas T. Wirth mail.nicowirth@gmail.com Technical University of Denmark License: GNU GPL (>= 2)