filterPeaks | R Documentation |
filter peaks according to the non-QC sample
filterPeaks(para, ratio = 0.8, byBatch = FALSE, byClass = FALSE,
omit.negative = TRUE, ...)
para |
An object of metaXpara |
ratio |
filter peaks which have missing value more than percent of "ratio", default is 0.8 |
byBatch |
filter peaks by batch |
byClass |
filter peaks by class |
omit.negative |
A logical value indicates whether omit the negative value |
... |
Additional parameters |
An object of metaXpara
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)
p <- filterPeaks(para,ratio=0.2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.