svaupload: Get the corrected data after SVA for metabolanalyst

Description Usage Arguments Value Examples

View source: R/sva.R

Description

Get the corrected data after SVA for metabolanalyst

Usage

1
svaupload(xset, lv = NULL)

Arguments

xset

xcmsset object

lv

group information

Value

csv files for both raw and corrected data for metabolanalyst if SVA could be applied

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
library(faahKO)
cdfpath <- system.file("cdf", package = "faahKO")
cdffiles <- list.files(cdfpath, recursive = TRUE, full.names = TRUE)
xset <- xcmsSet(cdffiles)
xset <- group(xset)
xset2 <- retcor(xset, family = "symmetric", plottype = "mdevden")
xset2 <- group(xset2, bw = 10)
xset3 <- fillPeaks(xset2)
svaupload(xset3)

## End(Not run)

enviGCMS documentation built on July 11, 2017, 1:03 a.m.