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
  • 119,032
  • 17
  • 152
  • 277
FelixTheCat
  • 121
  • 10

0 Answers0