On 10/24/2012 03:21 AM, Thiho Jules wrote:
Hi,
I want to make a barplot with the following datasets:
I have a file as following:
name chr position A1 A2 pop1 pop1 pop2 pop2
I have calculated a measure using all the values in columns "pops", the
values are saved in a vector.
Now I want to make a barplot using the values in this vector as the y axis
and the values in the column "position" in the x-axis.
Hi Thiho,
You can do this with the "barp" function in the plotrix package. See the
"x" argument for placing the bars at arbitrary positions.
Jim
______________________________________________
R-help@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.