Imputation | R Documentation |
Missing value imputation by different methods.
Imputation(
FeatureTable,
Impt = "default",
GapIdentifier = 0,
SampleInCol = TRUE,
Output = FALSE
)
FeatureTable |
Data frame with features in row and samples in column (default). |
Impt |
A single string specifying the imputation method to be used. |
GapIdentifier |
A numeric vector indicating the optimization range of lambda value. |
SampleInCol |
|
Output |
|
Four imputation methods are provided here:
1. default
, default imputation method by ABC transformation
2. knn
, KNN method supported by VIM package. See kNN
for details.
3. addition
, only replace gaps with identical small values (min/5).
4. rf
, random forest method supported by mice package. See mice
for details.
This method is not recommended due to long calculation time when feature number > 200.
FeatureTable
contains measured signal intensities of metabolic features,
with features in row and samples in column (default). The column names should
be sample names, and the first row should be sample group names (e.g. control, case).
This function returns the imputed data frame.
To be updated.
ImputedTable = Imputation(DemoData)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.