svaplot: Filter the data with p value and q value and show them

View source: R/deprecated.R

svaplotR Documentation

Filter the data with p value and q value and show them

Description

Filter the data with p value and q value and show them

Usage

svaplot(list, pqvalues = "sv", pt = 0.05, qt = 0.05, lv = NULL, index = NULL)

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

lv

group information

index

index for selected peaks

Value

heatmap for the data

See Also

svacor, svapca, svabatch

Examples

## 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)
svaplot(df)

## End(Not run)

yufree/enviGCMS documentation built on Sept. 12, 2023, 6:34 p.m.