make_PCA: This function takes in a data matrix and produces a PCA plot...

Description Usage Arguments Value Author(s)

View source: R/make_PCA.R

Description

This function takes in a data matrix and produces a PCA plot including the top30 loadings.

Usage

1

Arguments

matrix

The data matrix to be used.

a

The PC used for the x-axis.

b

The PC used for the y-axis.

Value

A pdf file with a scree plot, a pair plot showing the first five PCs as well as a PCA plot with PCs a and b as specified in the function call and the corresponding top 30 loadings as bar plot.

Author(s)

Daniel Braas


danielbraas/MetabFUN documentation built on Oct. 9, 2020, 9:49 a.m.