From e7facbf6e7e173d44b422bc227c227c21bcdb76e Mon Sep 17 00:00:00 2001 From: Katzlab Date: Thu, 12 Jun 2025 04:27:20 -0400 Subject: [PATCH] Update PlotComps.r Fixed typo by changing geom_line(data = enc_null, aes(GC3, ENc)) to geom_line(data = enc_null, aes(GC3S, ENc)) --- Utilities/for_fastas/PlotComps.r | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utilities/for_fastas/PlotComps.r b/Utilities/for_fastas/PlotComps.r index b99395a..4546abe 100644 --- a/Utilities/for_fastas/PlotComps.r +++ b/Utilities/for_fastas/PlotComps.r @@ -27,7 +27,7 @@ enc_null <- data.frame(read_tsv('ENc.Null.tsv')) #you need as.numeric to ensure R is reading the variable correctly gc3_plot <- ggplot(gc3, aes(as.numeric(GC3.Degen), as.numeric(ObsWrightENc_No6Fold)))+ geom_point(size = 0.1)+ - geom_line(data = enc_null, aes(GC3, ENc))+ + geom_line(data = enc_null, aes(GC3S, ENc))+ theme_classic()+ labs(x = 'GC3 Degen', y = 'ObsWrightENc_No6fold')+ theme(legend.position = 'none')+