missingValueImpute | R Documentation |
Missing value imputation
missingValueImpute(x, valueID = "value", method = "knn",
negValue = TRUE, cpu = 1, ...)
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 |
The imputation data
Bo Wen wenbostar@gmail.com
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.