Re: [R] R help

From: John Kane <jrkrideau_at_yahoo.ca>
Date: Wed, 06 Jun 2007 13:21:03 -0400 (EDT)

> Hi,
>
> I wonder whether R can finish the following project:
>
> I want to make a chart to represent 10 genes. Each
> gene has orientation and length. Therefore, a gene
> can be represented by arrows.
>
> Can R be used to draw 10 arrows in one line ?
>
> scott

Do you mean something like this?

x <- 1:10
y <- 1:10
plot(x,y, type="n" )
arrows(c(1,4,6),c(3,3,3), c(2,3, 7), c(4,4,2))



R-help_at_stat.math.ethz.ch 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 Wed 06 Jun 2007 - 17:30:05 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 Sat 16 Jun 2007 - 00:31:58 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.