imputeBetasByGenomicNeighbors | R Documentation |
Impute missing data based on genomic neighbors.
imputeBetasByGenomicNeighbors(
betas,
platform = NULL,
BPPARAM = SerialParam(),
max_neighbors = 3,
max_dist = 10000
)
betas |
named vector of beta values |
platform |
platform |
BPPARAM |
use MulticoreParam(n) for parallel processing |
max_neighbors |
maximum neighbors to use for dense regions |
max_dist |
maximum distance to count as neighbor |
imputed data, vector or matrix
betas = openSesame(sesameDataGet("EPICv2.8.SigDF")[[1]])
sum(is.na(betas))
betas2 = imputeBetasByGenomicNeighbors(betas, "EPICv2")
sum(is.na(betas2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.