Learn R Programming

enviGCMS (version 0.7.1)

svadata: Filter the data with p value and q value

Description

Filter the data with p value and q value

Usage

svadata(list, pqvalues = "sv", pt = 0.05, qt = 0.05)

Value

data, corrected data, mz and retention for filerted data

Arguments

list

results from svacor function

pqvalues

method for ANOVA or SVA

pt

threshold for p value, default is 0.05

qt

threshold for q value, default is 0.05

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)
df <- svacor(xset3)
svadata(df)
}

Run the code above in your browser using DataLab