imputeBetas: Impute of missing data of specific platform

View source: R/impute.R

imputeBetasR Documentation

Impute of missing data of specific platform

Description

Impute of missing data of specific platform

Usage

imputeBetas(
  betas,
  platform = NULL,
  BPPARAM = SerialParam(),
  celltype = NULL,
  sd_max = 999
)

Arguments

betas

named vector of beta values

platform

platform

BPPARAM

use MulticoreParam(n) for parallel processing

celltype

celltype/tissue context of imputation, if not given, will use nearest neighbor to determine.

sd_max

maximum standard deviation in imputation confidence

Value

imputed data, vector or matrix

Examples

betas = openSesame(sesameDataGet("EPIC.1.SigDF"))
sum(is.na(betas))
betas2 = imputeBetas(betas, "EPIC")
sum(is.na(betas2))


zwdzwd/sesame documentation built on Nov. 11, 2024, 9:33 a.m.