pc1_vs_pc2_plot: Saves to file a plot of pc1 vs pc2 from a pca analysis

pc1_vs_pc2_plotR Documentation

Saves to file a plot of pc1 vs pc2 from a pca analysis

Description

Saves to file a scatterplot showing PC1 vs PC2

Usage

pc1_vs_pc2_plot(scores_df, output_path = NA, my_width = 8, my_height = 8)

Arguments

scores_df

Dataframe with elements x principle components. Expects at least a PC1 and PC2 column

output_path

Character vector with fully qualified path to which plot will be saved

my_width

One-length numeric vector with width of output plot ( in inches )

my_height

One-length numeric vector with height of output plot ( in inches )

Value

Returns the ggplot object


Benjamin-Vincent-Lab/binfotron documentation built on Oct. 1, 2024, 8:33 p.m.