protein_pca: Principle component analysis

Description Usage Arguments Value Author(s)

View source: R/protein_pca.R

Description

: Returns an exploratory PCA analysis, along with a score plot and a scree plot

Usage

1
protein_pca(tidyData, components = 4, center = FALSE, scale = FALSE)

Arguments

tidyData

Normalized data to perform the PCA analysis on

components

The number of components

center

Whether the data is centered or not

scale

Whether the data is scaled or not

Value

A list containing the principal components and the ggplots of the score plot and the scree plot

Author(s)

Matthew Huang


hirscheylab/proteins documentation built on Nov. 15, 2020, 5:15 a.m.