pca: PCA score plot.

Description Usage Arguments Value Author(s)

View source: R/pca.R

Description

Plot PCA score plot.

Usage

1
2
3
4
5
6
7
8
 pca(
  data,
  id,
  plot,
  col=c("red","blue","black","green"),
  pch=c(19,17,15,18),
  label=c("Control","Disease","QC")
)

Arguments

data

Sample-by-matrix metabolomics data.

id

group.

plot

1: two dimension PCA score plots; 2: three dimension PCA score plot.

col

color of plot

pch

shape of plot.

label

label of plot

Value

PCA score plot.

Author(s)

Kui deng dengkui_stat@163.com


dengkuistat/WaveICA documentation built on Nov. 6, 2021, 6:21 p.m.