fgsea icon indicating copy to clipboard operation
fgsea copied to clipboard

`theme_bw()` is hard-coded in some plots

Open mjsteinbaugh opened this issue 3 years ago • 2 comments

Hi, I noticed that theme_bw() is called inside plotEnrichment(), which makes it more difficult to customize. Would it be possible to remove this?

See also: https://github.com/ctlab/fgsea/search?q=theme_bw&unscoped_q=theme_bw

The current ggplot2 recommendation is to instead use theme_set() to define themes globally, such as:

theme_set(theme_bw())

Best, Mike

mjsteinbaugh avatar Jul 23 '20 20:07 mjsteinbaugh