If the analyte set title for the GSEA plot is too long, it can create an error figure margin too large. This was previously addressed for SVG files by shortening the title. HMDB features many pathways with long names that seemed to still break the SVG output, or it was able to create this problem for the PNG output. Because the GSEA plot is not an absolutely necessary output for the analysis, it should not create an error, but instead it should display a warning.
Fix applied
The plotEnrichmentPlot function content is surrounded in a try to prevent errors in this function from stopping the analysis.
Further steps
[ ] Add a warning message if this error occurs
[ ] Add more intervention to stop this error from occurring
If the analyte set title for the GSEA plot is too long, it can create an error
figure margin too large
. This was previously addressed for SVG files by shortening the title. HMDB features many pathways with long names that seemed to still break the SVG output, or it was able to create this problem for the PNG output. Because the GSEA plot is not an absolutely necessary output for the analysis, it should not create an error, but instead it should display a warning.Fix applied
The
plotEnrichmentPlot
function content is surrounded in atry
to prevent errors in this function from stopping the analysis.Further steps