Learn R Programming

enviGCMS (version 0.5.7)

svabatch: Plot the influnces of DoE and Batch effects on each peaks

Description

Plot the influnces of DoE and Batch effects on each peaks

Usage

svabatch(df, dfsv, dfanova)

Arguments

df

data output from `svacor` function

dfsv

data output from `svaplot` function for corrected data

dfanova

data output from `svaplot` function for raw data

Value

influnces plot

See Also

svacor, svaplot, svapca

Examples

Run this code
# 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)
df <- svacor(xset3)
dfsv <- svaplot(xset3)
dfanova <- svaplot(xset3, pqvalues = "anova")
svabatch(df,dfsv,dfanova)
# }

Run the code above in your browser using DataLab