filterPeaks: filterPeaks

filterPeaksR Documentation

filterPeaks

Description

filter peaks according to the non-QC sample

Usage

filterPeaks(para, ratio = 0.8, byBatch = FALSE, byClass = FALSE,
  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

byBatch

filter peaks by batch

byClass

filter peaks by class

omit.negative

A logical value indicates whether omit the negative value

...

Additional parameters

Value

An object of metaXpara

Author(s)

Bo Wen wenbostar@gmail.com

Examples

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)

wenbostar/metaX documentation built on July 4, 2023, 7:50 p.m.