malhamdoosh / EGSEA

This package implements the Ensemble of Gene Set Enrichment Analyses (EGSEA) method for gene set testing.
10 stars 4 forks source link

Feature Request: Improvements to graphic handling #7

Open jrthompson54 opened 6 years ago

jrthompson54 commented 6 years ago

It seems the plotting tools only support output to file. In a markdown context the user is thus forced to use markdown syntax:

 ![graphname](path/filename) 

to import the graphics into a markdown report. This image import tag lacks control over image size and I find KEGG graphs import in postage stamp size. Sending output directly to the console would allow utilization of chunk options to control the output and resolution when including graphics in markdown reports.

Along the same lines, wherever ggplot is used for the graphics, returning the ggplot object would be most convenient. This would give the user the opportunity to further customize/annotate these plots before printing/saving and would allow the use of the ggsave function to provide finer control over size, dpi and file format.

Many of the dotplots would be improved by utilization of transparency to better interpret regions where many pathway points overlap.

Lastly, for interactive plots, showing the pathway name in a mouseover would be highly desirable.

Best, John Thompson (BMS)