A function to replace NA
in the data frame by GSIMP.
Arguments
- missdf
a data frame with missing values to be imputed containing features in columns and samples in rows.
- verbose
boolean, if
TRUE
, prints the typical prompts ofMetabImpute::Impute()
.- ...
other parameters of
MetabImpute::Impute()
besidesmethod
anddata
.
Value
A data.frame
with imputed values of GSIMP by
MetabImpute::Impute()
.
No replicates allowed
Impute()
allows users to improve the quality of the imputation by
providing the number of replications of the experiment. As one of the aims of
the imputomics
is to standardize the
input and the output, our wrappers do not allow for this behavior.
References
Davis TJ, Firzli TR, Higgins Keppler EA, Richardson M, Bean HD (2022). “Addressing Missing Data in GC × GC Metabolomics: Identifying Missingness Type and Evaluating the Impact of Imputation Methods on Experimental Replication.” Analytical Chemistry, 94(31), 10912--10920. ISSN 0003-2700, doi:10.1021/acs.analchem.1c04093 .
Examples
data(sim_miss)
impute_metabimpute_gsimp(sim_miss)
#> X1 X2 X3 X4 X5 X6
#> 1 0.1550508332 0.881156767 0.13580022 1.194841e-01 0.600405471 0.021450659
#> 2 0.9683788088 0.607484067 0.63377903 6.181195e-01 0.008132938 0.752073002
#> 3 0.4682630859 0.574529562 0.24760893 3.346764e-05 0.370125689 0.025740048
#> 4 0.7768196517 0.803133289 0.55133933 1.459775e-01 0.724248714 0.847776059
#> 5 0.4078857412 0.799116918 0.23476108 1.897136e-01 0.418270750 0.708734973
#> 6 0.5387971485 0.801862649 0.25861469 5.754945e-01 0.238248518 0.001125245
#> 7 0.8300829662 0.752073002 0.95288810 1.881735e-04 0.887881226 0.488335246
#> 8 0.1871035553 0.575461327 0.85687457 3.283283e-01 0.577775384 0.347228474
#> 9 0.7799696880 0.944218290 0.11980754 7.827804e-02 0.739950257 0.203048012
#> 10 0.1939439271 0.218987358 0.55452418 6.041722e-01 0.160679622 0.739950257
#> 11 0.4342311784 0.477997912 0.87694381 3.267991e-01 0.529571799 0.893697520
#> 12 0.0022745181 0.044668789 0.80186265 7.904526e-01 0.574529562 0.574529562
#> 13 0.8346921387 0.168485713 0.54673734 8.300830e-01 0.960086967 0.084448704
#> 14 0.0005846782 0.368280872 0.23275320 8.100511e-01 0.398616886 0.148258333
#> 15 0.9569678179 0.563311366 0.60226778 2.027530e-01 0.408468068 0.370281282
#> 16 0.9484970730 0.019658502 0.71253911 5.060450e-01 0.613321482 0.861177622
#> 17 0.6007299756 0.734327573 0.64890360 5.206680e-01 0.706590850 0.836681799
#> 18 0.2618074049 0.703656773 0.18756242 8.426808e-02 0.799116918 0.740547051
#> 19 0.6430342507 0.736824060 0.23839289 2.687654e-01 0.161331222 0.985765802
#> 20 0.5262335071 0.008434726 0.08948491 8.147157e-01 0.885932416 0.032081822