Description Usage Arguments Value Examples
View source: R/canonicalFormat.R
Standardise a sprectrum library data frame
1 | canonicalFormat(dat, format = c("peakview", "openswath"))
|
dat |
a data frame of a spectrum library |
format |
a character string, representing the format of the input spectrum library. One of "peakview" (default) and "openswath" |
a data frame of the library in canonical format
1 2 3 | file <- paste(system.file("files",package="SwathXtend"),"Lib1.txt",sep="/")
dat <- read.delim2(file,sep="\t",stringsAsFactor = FALSE, header=TRUE)
dat <- try(canonicalFormat(dat, format = "peakview"))
|
Loading required package: e1071
Loading required package: openxlsx
Loading required package: VennDiagram
Loading required package: grid
Loading required package: futile.logger
Loading required package: lattice
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.