vertesy / ggExpress

ggExpress is the fastest way to create, annotate and and save plots in R.
https://vertesy.github.io/ggExpress
GNU General Public License v3.0
4 stars 2 forks source link

Very weird error at qbarplot( logY = TRUE) #32

Open vertesy opened 1 year ago

vertesy commented 1 year ago

Description Suddenly error arose when using qbarplot( logY = TRUE)

Expected Behavior Simple conversion to log scale - there are no zeros

On a totally normal vector:

refilter.assigned.to.cells.X
   0    1    2    3    4    5    6    7    8    9   10   11   12   13 
1534 1011  328  157   78   51   30   15   20   18    4    3    5    2 
  14   15   16   17   18   19   25   28   29   33   34 
   2    2    1    2    2    1    1    1    1    1    1 

Buggy Behavior

Error in seq.default(min, max, by = by) : 'from' must be a finite number

It is commented in "R selective finite number error when applying log scale" that its because plot area expansion... but numbers seem to have no effect.