Drawing segments from one plot to another
1
0
Entering edit mode
@fong-chun-chan-4166
Last seen 10.1 years ago
Hi all, I've been using the layout function to plot multiple figures on the same graph. I was curious as to whether it was actually possible a segment from one plot to another plot. They are completely different plots though as they are laid out on different sections of the graph. For example, this figure from the Genome Graphs package, http://www.biomedcentral.com/1471-2105/10/2/figure/F2 The diagonal blue lines are being drawn to connect the expression data to the transcript's exons. Is this even possible to do? Fong [[alternative HTML version deleted]]
graph graph • 795 views
ADD COMMENT
0
Entering edit mode
@steve-lianoglou-2771
Last seen 19 months ago
United States
Hi, On Wed, Mar 2, 2011 at 5:47 PM, Fong Chun Chan <fongchun at="" interchange.ubc.ca=""> wrote: > Hi all, > > I've been using the layout function to plot multiple figures on the same > graph. ?I was curious as to whether it was actually possible a segment from > one plot to another plot. ?They are completely different plots though as > they are laid out on different sections of the graph. ?For example, this > figure from the Genome Graphs package, > > http://www.biomedcentral.com/1471-2105/10/2/figure/F2 > > The diagonal blue lines are being drawn to connect the expression data to > the transcript's exons. ?Is this even possible to do? If you're asking if this is possible to do, the answer is (obviously) yes. Whether or not this is easy is another question. I know that GenomeGraphs uses the Grid graphics system, ie: R> library(grid) R> ?Grid There' a lot of learning to do, though, if you want to use grid graphics effectively. That having been said, if you already have your graph setup and want to "connect the dots" (so to speak) between different parts, the `segments` function can draw lines in arbitrary positions on a plot -- not sure if that's what you're after? -steve -- Steve Lianoglou Graduate Student: Computational Systems Biology ?| Memorial Sloan-Kettering Cancer Center ?| Weill Medical College of Cornell University Contact Info: http://cbio.mskcc.org/~lianos/contact
ADD COMMENT

Login before adding your answer.

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