impute_MissingData: Impute missing Values in Elution Profile Matrix
Description
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.
Usage
impute_MissingData(x)
Value
Imputed matrix.
Arguments
x
A data matrix with rows
including proteins and fractions along the columns, while some
fractions may contain missing values.
# Load the co-elution datadata("exampleData")
# Replace the values with NAs in the 10th columnexampleData[, 10] <- NA# Impute missing valuedatOut <- impute_MissingData(exampleData)