Hi,
How can I efficiently mark/highlight/annotate several SNPs on ideograms? I would want to plot all the human genome chromosomes on one page (using viewports).
Thanks,
V.
Hi,
How can I efficiently mark/highlight/annotate several SNPs on ideograms? I would want to plot all the human genome chromosomes on one page (using viewports).
Thanks,
V.
There is no support for adding features to ideograms in Gviz. You could of course combine the ideogram with another track type, but I guess that is not what you are looking for here. There is also the OverlayTrack feature in Gviz,which allows to superimpose multiple tracks, but since IdeogramTracks are the only tracks in Gviz that somehow break the contract of having identical horizontal scales, a simple overlay will also not be that trivial.
Of course you can always just take the IdeogramTrack object, plot it using its drawGD method in a viewport that you fully control and add whatever you please on top of it.
Hope that helps at least a bit,
Florian
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Florian,
Many thanks for clarifying this...I spent quite a long time trying to do this :(
Do you know any other package or software that could somehow easily do this?
Thanks,
V.
Have you looked at the ggbio package? I believe that the Karyotype stuff in the vignette on pages 14 and 15 is what you need:
Florian
Florian,
Many thanks. Yes now I think I can easily use this to get what I want.
Best,
V.