Imputes the NA values of a scMethrix object.
impute_by_melissa(scm, threshold = 50, assay = "score", new_assay = "impute")
| scm |
|
|---|---|
| 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" |
An scMethrix object
Uses the inputted function to transform an assay in the scMethrix object
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.