plot_pca: PCA plot

Description Usage Arguments Value

View source: R/plot_pca.R

Description

PCA plot

Usage

1
2
plot_pca(eset, components, groups, type = NULL, batch = NULL,
  filename = NULL, ...)

Arguments

eset

ExpressionSet object with normalized expression values. Commonly the result of RMA normalization

components

A vector of length 2 containing which principal components to plot

groups

Column name corresponding to the groups of samples annotation on pheno data provided to the import_celfiles() function

type

Column name corresponding to the types of samples (control and treated samples) on pheno data provided to the import_celfiles() function (optional)

batch

Column name corresponding to each replicates on pheno data provided to the import_celfiles() function (optional)

filename

File name to save plot (pdf format)

...

Other arguments to be passed to pdf() function

Value

Plot of chosen PCs


iaradsouza1/MicroarrayMethods documentation built on Nov. 3, 2021, 2 p.m.