biolearn.imputation: Data Imputation Utilities#

This module provides a set of functions for imputing missing values in DNA methylation datasets. These functions allow for various strategies of imputation, from simple averaging to more complex hybrid methods.

Functions:

impute_from_standard(dnam, cpg_averages[, ...])

Impute all missing values in a DNA methylation dataset using the averages from an external dataset.

impute_from_average(dnam[, cpgs_to_impute])

Impute all missing values in a DNA methylation dataset using the average from the dataset itself.

hybrid_impute(dnam, cpg_source, required_cpgs)

Imputes missing values in a DNA methylation dataset based on a threshold.