Changed the plot_enrichment_depletion.R function. Explicitly stated id variables for melting data to long format and removed an unused ymax parameter in plotting, that both caused the function to print warnings. Also fixed the ggplot argument that removes vertical background lines. Removed the return statement at the end of the function, since the plot is written directly to a device and not saved as an R object.
Changed the plot_enrichment_depletion.R function. Explicitly stated id variables for melting data to long format and removed an unused ymax parameter in plotting, that both caused the function to print warnings. Also fixed the ggplot argument that removes vertical background lines. Removed the return statement at the end of the function, since the plot is written directly to a device and not saved as an R object.

CuppenResearch/MutationalPatterns