Re: [R] Help barplots

From: khush ........ <bioinfo.khush_at_gmail.com>
Date: Wed, 02 Jun 2010 20:57:59 +0530

Hi all,

I want to draw a arrow (small) of any length along with OsCYP right side i.e parrallel and antiparallel arrows both

 text(os[1], 10.2, pos = 4, "OsCYP", font=1, cex = 1, col = "red")

and

how can I connect two points with dotted line lets say

bp[1 ]10.2 ---------------------------------------- bp[3], 15.2

how to make a dotted line using R, is it possible

Thank you in advance

Jeet

On Tue, Jun 1, 2010 at 4:31 PM, khush ........ <bioinfo.khush_at_gmail.com>wrote:

> Dear All,
>
> I am newbie to R, and I wanted to plot a barplots with R and in such a way
> that It will also show me position which I can plot on the bar line.
>
> Here is my code that I am using to plot,
>
> > chromosome <- c(40.2, 35.6, 36.1, 29.6, 31, 29.6, 31, 29.4, 28.2, 23, 23,
> 28.2)
> >barplot (chromosome, col="purple", xlab="Oryza sativa Chromosomes", border
> = NA, space = 5, ylim = c(0,45))
>
> I wanted to mark the position say on chromosome 1 (40.2) I need to mark
> 10.2 and on other also.
> I also want to set the scale of y axis from 0,5,10,15,20,25,30,35,40,45 i.e
> gap of 5 instead of 10.
>
> please help me to solve my query....gurus.
>
>
> Thank you
> Jeet
>

        [[alternative HTML version deleted]]



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 Wed 02 Jun 2010 - 15:30:58 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 Thu 03 Jun 2010 - 10:40:26 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