Imputes the NA values of a scMethrix object.

impute_by_melissa(scm, threshold = 50, assay = "score", new_assay = "impute")

Arguments

scm

scMethrix; the single cell methylation experiment

threshold

The value for cutoff in the "score" assay to determine methylated or unmethylated status. Default = 50

assay

string; name of an existing assay. Default = "score"

new_assay

string; name for transformed assay. Default = "new_assay"

Value

An scMethrix object

Details

Uses the inputted function to transform an assay in the scMethrix object

References

Kapourani CA, Sanguinetti G (2019). “Melissa: Bayesian clustering and imputation of single cell methylomes.” Genome Biology, 20, 61. doi: 10.1186/s13059-019-1665-8.

Examples

data('scMethrix_data')