In function plotQTHist, the numbers parameter is supposed to switch off whether the histogram plots percentages or numbers. But, it doesn't do this.
Example:
> x = rnorm(5000)
> plotQTHist(x)
> plotQTHist(x, numbers=FALSE)
These plots show the same thing. The second would should use frequencies instead of numbers. It's due to this code, where there's a check for a name column which is not present in the data frame:
In function
plotQTHist
, thenumbers
parameter is supposed to switch off whether the histogram plots percentages or numbers. But, it doesn't do this.Example:
These plots show the same thing. The second would should use frequencies instead of numbers. It's due to this code, where there's a check for a
name
column which is not present in the data frame:https://github.com/databio/GenomicDistributions/blob/2d2ee49f1001bcd0e832c503f353ff776861ae82/R/qthist.R#L85-L94