@@ -228,15 +228,15 @@ Plot_INDEL_Only <- function(Mydf, X_labels, Cutoffs, X_limits, plot_type) {
228228# ----------
229229# Build output filepath and save plots to file
230230Save_SNP_Plots <- function (Directory , Prefix , Suffix , SNP_plot ) {
231- outfile_snp_fp <- paste0(Directory , " /Plots/" , Prefix , " _SNP_distributions" , Suffix , " .png " )
231+ outfile_snp_fp <- paste0(Directory , " /Plots/" , Prefix , " _SNP_distributions" , Suffix , " .pdf " )
232232 print(paste0(" SNP graph filename path is " , outfile_snp_fp ))
233- ggsave(outfile_snp_fp , plot = SNP_plot , device = " png " )
233+ ggsave(outfile_snp_fp , plot = SNP_plot , device = " pdf " )
234234}
235235
236236Save_Indel_Plots <- function (Directory , Prefix , Suffix , Indel_plot ) {
237- outfile_indel_fp <- paste0(Directory , " /Plots/" , Prefix , " _INDEL_distributions" , Suffix , " .png " )
237+ outfile_indel_fp <- paste0(Directory , " /Plots/" , Prefix , " _INDEL_distributions" , Suffix , " .pdf " )
238238 print(paste0(" Indel graph filename path is " , outfile_indel_fp ))
239- ggsave(outfile_indel_fp , plot = Indel_plot , device = " png " )
239+ ggsave(outfile_indel_fp , plot = Indel_plot , device = " pdf " )
240240}
241241
242242# ############################
0 commit comments