plot_pca: plot principal components

Description Usage Arguments

View source: R/principal_components_analysis.R

Description

generate a PCA plot from a list with class "prcomp"

Usage

1
2
3
4
5
6
7
plot_pca(
  pca,
  draw_lines = list(),
  labels = FALSE,
  palette = exploreatacseq_color_palette(),
  percent_of_variance = NULL
)

Arguments

pca

list with class "prcomp"

draw_lines

list of treatment groups to draw lines through

labels

if TRUE, text labels will be added to the points

palette

color palette for points

percent_of_variance

percentage values to display on axes


anthony-aylward/exploreatacseq documentation built on May 10, 2021, 8:45 a.m.