pcaplot: Display a PCA Plot of the Data

Description Usage Arguments Value

View source: R/misc_functions.R

Description

Display a PCA Plot of the Data

Usage

1
pcaplot(mat, sub, center = TRUE, scale = TRUE, plottitle = "PCA")

Arguments

mat

The data frame on which to perform pca.

sub

The number of samples in this batch, from left to right in the data frame

center

a logical value indicating whether the variables should be shifted to be zero centered. The default is TRUE

scale

a logical value indicating whether the variables should be scaled to have unit variance before the analysis takes place. The default is TRUE

plottitle

The title to display above your PCA plot. The default is "PCA".

Value

A PCA plot is displayed


ASSIGN documentation built on Nov. 8, 2020, 8:29 p.m.