Description Usage Arguments Value Examples
Impute missing values/NAs with KNN
1 2 3 4 5 6 7 8 9 10 |
obj |
Input SummarizedExperiment object |
rowmax |
Maximum fraction of NAs that can exist in a row |
colmax |
Maximum fraction of NAs that can exist in a column/sample |
k |
Number of neighbors to be used in the imputation |
maxp |
Largest block of regions/loci imputed using KNN |
in.place |
Whether to modify the Beta/counts in place (default: TRUE) |
drop.sparse.samps |
Whether to drop samples that are too sparse (default: TRUE) |
assay |
The type of assay ("array", "atac", "bisulfite") |
Imputed data matrix that is added to the assays slot
1 2 3 | data("meth_array_450k_chr14", package = "compartmap")
#impute
imputed <- imputeKNN(array.data.chr14, assay = "array")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.