missingValueImpute: Missing value imputation

missingValueImputeR Documentation

Missing value imputation

Description

Missing value imputation

Usage

missingValueImpute(x, valueID = "value", method = "knn",
  negValue = TRUE, cpu = 1, ...)

Arguments

x

The value needed to be imputated

valueID

The name of the column which will be used

method

Method for imputation: bpca,knn,svdImpute,softImpute,rf,min

negValue

A logical indicates whether convert <=0 value to NA

cpu

The number of cpus used

...

Additional parameters

Value

The imputation data

Author(s)

Bo Wen wenbostar@gmail.com

Examples

para <- new("metaXpara")
pfile <- system.file("extdata/MTBLS79.txt",package = "metaX")
sfile <- system.file("extdata/MTBLS79_sampleList.txt",package = "metaX")
rawPeaks(para) <- read.delim(pfile,check.names = FALSE)
sampleListFile(para) <- sfile
para <- reSetPeaksData(para)
para <- missingValueImpute(para)

wenbostar/metaX documentation built on July 4, 2023, 7:50 p.m.