Description Usage Arguments Details Value Author(s)
View source: R/normalization.R
Removes missing methylation values in the methylation matrix of the given object
1 2 3 4 5 6 | rnb.execute.imputation(
rnb.set,
method = rnb.getOption("imputation.method"),
update.ff = TRUE,
...
)
|
rnb.set |
Dataset object inheriting from |
method |
Imputation method to be used, must be one of |
update.ff |
flag indicating if the disk based matrices should be updated. Should be set to FALSE, if methylation matrix should only temporarly be changed. If this value is FALSE, the region level methylation values are not updated and only the site-wise matrix is changed temporarly. |
... |
Optional arguments passed to knn.imputation |
Imputes missing values by applying on the following methods:
missing values are inferred as the average methylation value from all other (non-mising) CpGs in this sample
missing values are inferred as the average methylation value from all other (non-mising) values at this CpG sites in all other samples
missing values are inferred by randomly selecting a (non-missing) methylation value from any other sample at this CpG site
missing values are inferred by k-nearest neighbors imputation (see impute)
missing values are inferred as the median methylation value from all other (non-mising) CpGs in this sample
missing values are inferred as the median methylation value from all other (non-mising) values at this CpG sites in all other samples
imputation should not be performed
The modified rnb.set object without missing methylation values.
Michael Scherer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.