Check-in.MD comments:
Thanks for the updates. geom_rect() is your best bet, where you use the xmin and xmax aesthetics to plot the segments from the minimap2 output, and ymin and ymax can be categorical, or an arbitrary variable you assign to each genome. Say you have 10 genomes, then your REF will be y_pos=10, and ymin=y_pos-0.5 and ymax=y_pos+0.5. The other genomes will be y_pos between 1 and 9. This will create a stack of segments, one for each genome.
Hope this helps,
Nic
Check-in.MD comments:
Thanks for the updates. geom_rect() is your best bet, where you use the xmin and xmax aesthetics to plot the segments from the minimap2 output, and ymin and ymax can be categorical, or an arbitrary variable you assign to each genome. Say you have 10 genomes, then your REF will be y_pos=10, and ymin=y_pos-0.5 and ymax=y_pos+0.5. The other genomes will be y_pos between 1 and 9. This will create a stack of segments, one for each genome.
Hope this helps,
Nic