Visualize a genome
1
0
Entering edit mode
9.7 years ago
ahmad • 0

Hi,

I have a set of genomic coordinates (e.g., gene identifier, start position, end position). For each gene identifier, I have quantitative values which describe some measurement of interest. I'm trying to plot the genome where each genomic segment is colored according to the quantitative value it has. An example is the following:

"Gene id" "Start position" "End position" "Quantitative value"
..
..
gi_x    15830    16450   10
gi_y    16552    17307   21
..
..

Does anyone have recommendations about an R tool I can use to visualize such data?

genome • 2.1k views
ADD COMMENT
3
Entering edit mode
9.7 years ago
gtho123 ▴ 260

It sounds like you want to construct a karyogram.

You can do this with an R package called ggbio. See section 4.3 in the vignette or this demo in the docs. Basically you plot the chromosomes and fill them in based on the quantitative value you assign to it.

ADD COMMENT

Login before adding your answer.

Traffic: 1732 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