Imputes or removes missing values in multi-omics data.
Usage
handle_missing(data_list, method = "median", threshold = 0.5, k = 5)
Arguments
- data_list
List of data matrices.
- method
Method: "remove_features", "remove_samples", "mean", "median", "knn".
- threshold
For remove methods: maximum proportion of NA allowed.
- k
For KNN imputation: number of neighbors.
Value
List of processed matrices.