svapca: Principal component analysis(PCA) for SVA corrected data and...

View source: R/deprecated.R

svapcaR Documentation

Principal component analysis(PCA) for SVA corrected data and raw data

Description

Principal component analysis(PCA) for SVA corrected data and raw data

Usage

svapca(list, center = TRUE, scale = TRUE, lv = NULL)

Arguments

list

results from svacor function

center

parameters for PCA

scale

parameters for scale

lv

group information

Value

plot

See Also

svacor, svaplot, 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)
svapca(df)

## End(Not run)

enviGCMS documentation built on Feb. 16, 2023, 8:08 p.m.