fmicompbio / monaLisa

binned motif enrichment analysis and visualisation
https://fmicompbio.github.io/monaLisa/
GNU General Public License v3.0
36 stars 6 forks source link

legend font size in plotBinScatter #7

Closed LukasBurger closed 5 years ago

LukasBurger commented 5 years ago

The legend font size does not change based on the number of bins in the plotBinScatter function, so much of the information is cut off (the ‘cex’ parameter in legend() ). This results in bins not being represented in the legend.

LukasBurger commented 5 years ago

could simply add a cex.legend parameter to make font smaller

mbstadler commented 5 years ago

I have added a parameter legend.cex = 1.0, that will be passed to legend(..., cex = legend.cex) to the functions plotBinHist, plotBinDensity and plotBinScatter