Learn R Programming

metaX (version 1.4.0)

removeSample: Remove samples from the metaXpara object

Description

Remove samples from the metaXpara object

Usage

removeSample(para, rsamples, ...)

Arguments

para
A metaXpara object.
rsamples
The samples needed to be removed
...
Other argument

Value

A metaXpara object.

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)
new_para <- removeSample(para,rsamples=c("batch01_QC01"))

Run the code above in your browser using DataLab