Learn R Programming

enviGCMS (version 0.7.1)

svaupload: Get the corrected data after SVA for metabolanalyst

Description

Get the corrected data after SVA for metabolanalyst

Usage

svaupload(xset, lv = NULL)

Value

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

Arguments

xset

xcmsset object

lv

group information

Examples

Run this code
if (FALSE) {
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)
}

Run the code above in your browser using DataLab