missingValueImpute: Missing value imputation

Description Usage Arguments Value Author(s) Examples

Description

Missing value imputation

Usage

1
2
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,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 wenbo@genomics.cn

Examples

1
2
3
4
5
6
7
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)

metaX documentation built on Oct. 5, 2016, 4:41 a.m.