R/direction_change_in_percent_intergenic.R
direction_change_in_percent_intergenic.Rd
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
)
list of PCA dfs
a vector corresponding to plate colors. should be equal in length to the number of plates
either 1 or -1, to flip slope depending on how the PCs are calculated
A plot showing the line which results from conducting a linear module with formula percent_intergenic ~ PC1 + PC2