Create custom IdeogramTrack (Gviz)
1
1
Entering edit mode
I-Hsuan Lin ▴ 10
@i-hsuan-lin-9804
Last seen 8 months ago
United Kingdom
Hello I want to ask if it is possible to create an IdeogramTrack object for a genome of my interest? If so, what information should I gather and also how can I create the object (what commands)? Regards, I-Hsuan
gviz ideogram • 2.5k views
ADD COMMENT
3
Entering edit mode
@florianhahnenovartiscom-3784
Last seen 6.2 years ago
Switzerland

Hi I-Hsuan,

there is some basic information on how to do that on the IdeogramTrack help page, im particular under the 'bands' argument section:

? IdeogramTrack

  bands: A ‘data.frame’ with the cytoband information for all

          available chromosomes on the genome similar to the data that

          would be fetched from UCSC. The table needs to contain the

          mandatory columns ‘chrom’, ‘chromStart’, ‘chromEnd’, ‘name’

          and ‘gieStain’ with the chromosome name, cytoband start and

          end coordinates, cytoband name and coloring information,

          respectively. This can be used when no connection to the

          internet is available or when the cytoband information has

          been cached locally to avoid the somewhat slow connection to

          UCSC.

So assuming that you have created the necessary IdeogramTrack data.frame, you could initialize the object like this

idTrack <- IdeogramTrack(genome="yourGenomeName", bands=yourBandsDataFrame)

Now where you get the bands information from is totally up to you. In the easiest case you would just use the chromosome lengths for the chromStart and chromEnd values, essentially creating Ideograms without banding.

Florian

 

ADD COMMENT
0
Entering edit mode

Thanks Florian!

Regarding the last comment, IdeogramTrack() will still requires the data.frame to contain the name and gieStain information. So what I did is give it arbitrary names and one of the valid stain values.

I-Hsuan

ADD REPLY

Login before adding your answer.

Traffic: 689 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6