Skip to contents

create_empirical_qq_plot() creates empirical Q-Q plot based on the single metabolite distribution before and after imputation.

Usage

create_empirical_qqplot(dat, metabolite)

Arguments

dat

a raw_data object, the output of the read_data() function. The data have to be completed, for example using the complete_data() function.

metabolite

a name of the metabolite of interest.

Examples

path <- get_example_data("small_biocrates_example.xls")
dat <- read_data(path)
dat <- complete_data(dat, "limit", "limit", "limit")
#> Completing 109 < LOD values...
#> Completing 6 < LLOQ values...
#> Completing 9 < ULOQ values...
create_empirical_qqplot(dat, "C5")
#> Warning: There was 1 warning in `mutate()`.
#>  In argument: `before = as.numeric(before)`.
#> Caused by warning:
#> ! NAs introduced by coercion
#> Warning: NAs introduced by coercion