savePDF.Rd
Save figure as pdf
savePDF(file.name, plot.handle, fig.width = 5, fig.height = 5, save.flag = T)
path/filename of output pdf. A character.
plot handle that will be saved as pdf. E.g., GGplot handle.
Numeric for plot width. Default is 5.
Numeric for plot height Default is 5.
Logical to save figure. Default is TRUE.
# save module figure
savePDF(file.name = "M01_QC_violin.pdf", plot.handle = plt.QC_violin, fig.width = 5, fig.height = 5, save.flag = save.pdf)
#> Error in savePDF(file.name = "M01_QC_violin.pdf", plot.handle = plt.QC_violin, fig.width = 5, fig.height = 5, save.flag = save.pdf): object 'save.pdf' not found