I'm trying to plot densities on both sides of the x axis - trying to visualize reads mapping to both strands of a genomic region.
I have two problems :
I want to use
ggplot2
butI don't know how to extract the data from the plot object, or invert the plot that has already been made.
Any help greatly appreciated!
Your question is very unclear, but I found the "densities on both sides of the x axis" potentially interesting. So maybe you're trying to do something like this: