Bug : geom_bar for GRanges unable to set any custom label for the y axis other than the default
Closed this issue · 0 comments
sanchit-saini commented
Reproducible code:
library(ggbio)
library(GenomicRanges)
gr.b <- GRanges(seqnames = "chr1",
IRanges(start = seq(1, 100, by = 10),
width = sample(4:9, size = 10, replace = TRUE)),
score = rnorm(10, 10, 3), value = runif(10, 1, 100))
ggplot() + geom_bar(gr.b, aes(fill = value), ylab = "Y-label")