plot_PCs: Plot principal components

Description Usage Arguments Value

View source: R/plot_PCs.R

Description

Plot principal components

Usage

1
plot_PCs(df, color_by_str)

Arguments

df

a dataframe with at least three columns–PC1, PC2, color_var

color_by_str

a string specifying how to color the points

Value

a ggplot object


cbreenmachine/wiscR documentation built on Jan. 26, 2022, 9:10 a.m.