make a plot showing the direction of percent intergenic on PC1/2 axis

direction_change_in_percent_intergenic(
  pca_df_list,
  plate_colors,
  slope_dir = 1
)

Arguments

pca_df_list

list of PCA dfs

plate_colors

a vector corresponding to plate colors. should be equal in length to the number of plates

slope_dir

either 1 or -1, to flip slope depending on how the PCs are calculated

Value

A plot showing the line which results from conducting a linear module with formula percent_intergenic ~ PC1 + PC2