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

Description Usage Arguments Value Author(s)

View source: R/make_PCA2.R

Description

This function takes in a data matrix and produces a PCA plot and a correlation circle plot.

Usage

1
make_PCA2(matrix, a = 1, b = 2, cutoff = 0.5)

Arguments

matrix

The data matrix to be used.

a

The PC used for the x-axis.

b

The PC used for the y-axis.

cutoff

The cutoff for correlation.

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.