Description Usage Arguments Value Author(s) Examples
metaXpipe
1 2 3 4 |
para |
A metaXpara object. |
plsdaPara |
A plsDAPara object. |
cvFilter |
Filter peaks which cv > cvFilter in QC samples. |
remveOutlier |
Remove outlier samples. |
outTol |
The threshold to remove outlier samples. |
doQA |
Boolean, setting the argument to TRUE will perform plot quality figures. |
doROC |
A logical indicates whether to calculate the ROC |
qcsc |
Boolean, setting the argument to TRUE to perform quality control-robust loess signal correction. |
nor.method |
Normalization method. |
pclean |
Boolean, setting the argument to TRUE to perform data cleaning |
t |
Data transformation method. See |
scale |
Data scaling method. |
idres |
A file containing the metabolite identification result |
nor.order |
The order of normalization, only valid when |
out.rmqc |
Boolean, setting the argument to TRUE to remove the QC samples for the csv file. |
saveRds |
Boolean, setting the argument to TRUE to save some objects to disk for debug. Only useful for developer. Default is TRUE. |
... |
Other argument |
A metaXpara object.
Bo Wen wenbo@genomics.cn
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | ## Not run:
## example 1: no QC sample
library(faahKO)
xset <- group(faahko)
xset <- retcor(xset)
xset <- group(xset)
xset <- fillPeaks(xset)
peaksData <- as.data.frame(groupval(xset,"medret",value="into"))
peaksData$name <- row.names(peaksData)
para <- new("metaXpara")
rawPeaks(para) <- peaksData
ratioPairs(para) <- "KO:WT"
outdir(para) <- "test"
sampleListFile(para) <- system.file("extdata/faahKO_sampleList.txt",
package = "metaX")
plsdaPara <- new("plsDAPara")
p <- metaXpipe(para,plsdaPara=plsdaPara)
## example 2: has QC samples
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
ratioPairs(para) <- "S:C"
plsdaPara <- new("plsDAPara")
p <- metaXpipe(para,plsdaPara=plsdaPara)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.