Description Usage Arguments Value See Also Examples
View source: R/functions_cleane.R
Calculates the missing rate of the pooled plasma columns and biological sample columns for each metabolite. Plots a scatterplot showing the correspondence between the two.
1 | plot_pp_sample_missing(df, ppkey = "PPP", sidkey = "X")
|
df |
The metabolomics dataset, ideally read from the |
ppkey |
The unique prefix of pooled plasma samples. Default is |
sidkey |
The unique prefix of biological samples. Default is |
Returns a scatterplot comparing the pooled plasma missing rate to the sample missing rate
See MetProc-package
for examples of running the full process.
1 2 3 4 5 6 7 8 | library(MetProc)
#Read in metabolomics data
metdata <- read.met(system.file("extdata/sampledata.csv", package="MetProc"),
headrow=3, metidcol=1, fvalue=8, sep=",", ppkey="PPP", ippkey="BPP")
#Plot the pooled plasma missing rate against the sample missing rate
plot_pp_sample_missing(metdata,ppkey='PPP',sidkey='X')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.