pafr icon indicating copy to clipboard operation
pafr copied to clipboard

remove labels on coverage plot

Open svedwards opened this issue 1 year ago • 0 comments

Hi again David -

I figured I'd submit this as a separate issue. Again, I'd like to remove the target scaffold labels on the right of this coverage plot. I tried removing the axis labels (which I presume they are) with themes, but it didn't seem to work. I'd also like to know how to move the labels that are within the target scaffolds so they don't overlap the left border. Thanks again for any suggestions. - Scott

plot_coverage(longtargets, fill = "qname") + guides(fill = "none") + theme_void() +

  • theme(axis.text.x=element_blank(), #remove x axis labels
  •     axis.ticks.x=element_blank(), #remove x axis ticks
    
  •     axis.text.y=element_blank(),  #remove y axis labels
    
  •     axis.ticks.y=element_blank()  #remove y axis ticks
    

coverage_moa_to_largest_notPer_scaffolds.pdf

svedwards avatar Dec 21 '22 22:12 svedwards