Skip to contents

Replace missing values with imputed values for each dataset of a MultiDataSet object, based on the results of a Principal Component Analysis applied to the corresponding dataset.

Usage

get_complete_data(mo_data, pca_result)

Arguments

mo_data

A MultiDataSet::MultiDataSet object.

pca_result

A list in which each element is the result of a PCA run on a different dataset, computed with the run_pca() function.

Value

A MultiDataSet::MultiDataSet object, for which the assay of each dataset is the imputed dataset.

Details

Uses the pcaMethods::completeObs() function to impute missing values.