View source: R/impute_MissingData.R
impute_MissingData | R Documentation |
This function imputes missing values in protein elution profile matrix via average of adjacent rows. This function is not applicable for missing values present in the first or last column.
impute_MissingData(x)
x |
A data matrix with rows including proteins and fractions along the columns, while some fractions may contain missing values. |
impute_MissingData
Imputed matrix.
Matineh Rahmatbakhsh, matinerb.94@gmail.com
# Load the co-elution data data("exampleData") # Replace the values with NAs in the 10th column exampleData[, 10] <- NA # Impute missing value datOut <- impute_MissingData(exampleData)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.