Learn R Programming

metaX (version 1.4.0)

filterPeaks: filterPeaks

Description

filter peaks according to the non-QC sample

Usage

filterPeaks(para, ratio = 0.8, omit.negative = TRUE, ...)

Arguments

para
An object of metaXpara
ratio
filter peaks which have missing value more than percent of "ratio", default is 0.8
omit.negative
A logical value indicates whether omit the negative value
...
Additional parameters

Value

An object of metaXpara

Examples

Run this code
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)

Run the code above in your browser using DataLab