hms-dbmi / UpSetR

An R implementation of the UpSet set visualization technique published by Lex, Gehlenborg, et al..
https://cran.rstudio.com/web/packages/UpSetR
Other
760 stars 154 forks source link

Control font size of y label and tick marks #43

Closed topherconley closed 8 years ago

topherconley commented 8 years ago

Nice package!

The font size of mainbar.y.label and the y axis tick marks are too small for my liking. Is it possible to increase their size? Could something like the name.size argument be added for these components? The demo figures do not seem to have this problem, but I cannot reproduce the large font size on my local machine.

JakeConway commented 8 years ago

I had to decrease the font sizes for the new ggplot2 update. Do you have the latest version of ggplot2 installed?

ngehlenborg commented 8 years ago

@JakeConway - Maybe we should provide a parameter to pass in fontsizes for any fonts used in the plot. I am wondering if the best solution for this would be via ggplot2 themes?

ngehlenborg commented 8 years ago

This is related to #24.

natbprice commented 8 years ago

I agree the font size is way too small. Is there any temporary fix to this issue? The plot is nice, but is basically unusable with default font sizes.

JakeConway commented 8 years ago

This is now a feature on the github version of the package. Download the github version using devtools::install_github('hms-dbmi/UpSetR'), and then refer to Example 2 in the basic usage vignette here: https://github.com/hms-dbmi/UpSetR/blob/master/vignettes/basic.usage.Rmd

This will also be a feature on the shiny application shortly.