0

I have a ggplot with a y axis consisting of gene names. Current graph

However, I also want another axis on the right side of the graph to display the category that the gene belongs to. I made a separate ggplot that looks like this

Second ggplot

I want to overlay them so that it looks like the first plot has two y-axis. Is there a way that I can graph them simultaneously on top of each other?

Thanks!

Gregor Thomas
  • 136,190
  • 20
  • 167
  • 294
FelixTheCat
  • 121
  • 11

0 Answers0