Do you know any tool to add annotations or highlight regions in a dot-plot? like the figure below using Pafr. Pafr is great but has a bug when comparing genomes with different sizes.
if your plot is a ggplot object you can use annotate to add a colored block to your plots. https://ggplot2.tidyverse.org/reference/annotate.html
annotate
Yes, it is. I need to highlight multiple regions using a dataframe as input though. I'll take a look, it seems possible using annotate, thanks!
Login before adding your answer.
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
if your plot is a ggplot object you can use
annotate
to add a colored block to your plots. https://ggplot2.tidyverse.org/reference/annotate.htmlYes, it is. I need to highlight multiple regions using a dataframe as input though. I'll take a look, it seems possible using
annotate
, thanks!