ggbio
ggbio copied to clipboard
Modify plotting options at the ggplot level
Hey guys!
Amazing package for pretty visualisations of genomic data :). I have a quick question: is it possible to modify the values of the "ggbio" object at the ggplot level? For example, make the test bold or increase it's size.
I have checked the available tutorial and played around for a while, but I can't manage to implement the simple modifications I want to do.
For example, with this code I cannot manage to increase the size and make bold the text that indicates the chromosomes in the circular plot:
p <- ggbio() + circle(g.circle.window, geom = "rect", color = "forestgreen") + circle(g.circle.chrom, geom = "ideo", fill = "plum2") + circle(g.circle.chrom, geom = "scale", size = 2) + circle(g.circle.chrom, geom = "text", aes(label = seqnames), vjust = -1.3, size = 3) + theme(axis.text=element_text(size=21, face = "bold"))
Thank you for your time!! :))