plotpca: plot the PCA of list

Description Usage Arguments Examples

View source: R/mzrt.R

Description

plot the PCA of list

Usage

1
plotpca(data, lv = NULL, index = NULL, center = T, scale = T, ...)

Arguments

data

mzrt profile with row peaks and column samples

lv

group information

index

index for selected peaks

center

parameters for PCA

scale

parameters for scale

...

other parameters for 'plot' function

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
library(faahKO)
cdfpath <- system.file('cdf', package = 'faahKO')
list <- getmr(cdfpath, pmethod = ' ')
data <- list$data
lv <- as.character(list$group$class)
plotpca(data, lv)

## End(Not run)

enviGCMS documentation built on April 26, 2018, 1:04 a.m.