imputeALS: imputeALS

View source: R/imputeALS.R

imputeALSR Documentation

imputeALS

Description

imputeALS

Usage

imputeALS(data, lambda, r, iters, use.biases)

Arguments

data

a matrix containing missing values that should be imputed

lambda

the learning rate

r

number of coefficients per sample and feature

iters

the number of iterations the ALS should be executed

use.biases

TRUE if the bias model should be used

Value

a matrix containing the original values with missing values replaced by imputed values

References

\insertRef

Koren2009Raspository

\insertRef

Hastie2014Raspository

Examples

library(BEclear)
data("BEclearData")
batchEffect <- calcBatchEffects(
data = ex.data, samples = ex.samples,
adjusted = TRUE, method = "fdr")

mdifs <- batchEffect$med
pvals <- batchEffect$pval

summary <-calcSummary(mdifs, pvals)
cleared.data <- clearBEgenes(ex.data, ex.samples, summary)

result <- imputeALS(cleared.data)


David-J-R/Raspository documentation built on April 17, 2023, 12:55 a.m.