I have posted a similar question here : http://www.biostars.org/post/show/46740/how-to-create-such-figure-of-chromosomes/#46762
An other similar figure representing multiple samples ideograms can be found here : http://www.biostars.org/post/show/378/drawing-chromosome-ideogams-with-data/
From mouse genome mm9 I have CNV Losses and Gain from Breakdancer and CNVnator, so our data have only :
- type of CNV
- breakpoint start and end coordinates
- chromosome number
- length of the Copy Number.
Based on those data and knowing that we have 6 samples to represent on one ideogram, which software is more appropriate to have a nice ideogram of our 6 samples ?
Thanks :)
Thanks a lot for your helpful answer! I'm installing Gviz right now. How should I configure data for sample 1 and 2 ? And where is my input file in the code you've mentioned ? for some reason I don't see it..
I simply generated random data, if you want to read a GFF file, most likely the package
rtracklayer
will support. If it is VCF, you can use theVariantAnnotation
package.Oh Thanks! I have everything on an excel spreadsheet right now. So I would input my excel data as a VCF file I guess .. Does that go instead of atrack1 & atrack2 ?
Simply export into a tab or comma separated file in Ecxel and use
read.delim
in R. Actually you will only need columns chromosome and position information. A width or end column maybe, if you have variant larger than 1 bp. I guess you can figure that out?God knows! I'm a R newbie but I can try to learn and see .. If that doesn't work out I will post a new thread :) I will check this out right now! Thanks a lot for your help!!