[R] stretching text vertically

From: Alex Reynolds <reynolda_at_u.washington.edu>
Date: Fri, 13 Jun 2008 15:55:46 -0700

I'd like to stretch a plotted character vertically, to create a "sequence logo".

Is there a parameter to allow stretching text() output vertically or squeeze horizontally?

I know about Oliver Bembom's seqLogo library, but this generates a sequence logo plot using a separate bitmap device. I want to recreate the sequence logo *inside* an existing plot.

Alternatively, is there a way to embed one plot inside another?

I could use imagemagick outside R to 'montage' separate bitmaps, but then the sequence logo is going to be very difficult to align (base for base) with the plot I'm trying to join it to.

Thanks for any tips,
Alex



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri 13 Jun 2008 - 23:00:20 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 16 Jun 2008 - 16:30:44 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive