swath.means: Computer Swath mean peak area for duplicated samples

Usage Arguments Value Examples

View source: R/fdrFunctions.R

Usage

1
swath.means(dswath, Sample)

Arguments

dswath

a data frame of peak areas of Swath results

Sample

a vector of strings of the sample names in the Swath result

Value

A data frame with the mean peak area.

Examples

1
2
3
4
5
6
7
file = paste(system.file("files",package="SwathXtend"),"Swath_result_Lib2.xlsx", sep="/")

dswat = readWorkbook(file, 2)

Sample = rep(c('2perc','5perc','10perc'), each=3)

res = swath.means(dswat, Sample)

SwathXtend documentation built on Nov. 8, 2020, 6:42 p.m.