I'm trying to make a simple bar chart that first, distinguishes between two groups say based on sex, male or female, and then after stats, for each sample/ individual, there is a P-value, significant or not. I know how to color code the bars between male and female, but I want R to automatically put a star above each sample/ individual who has a P-value less than 0.05 say.
I'm currently just using the simple barplot(x) function.
I've tried to look around for answers but haven't found anything for this yet.
Below is is a link to my example data set:
[url=http://www.divshare.com/download/22797284-187]DivShare File - test.csv[/url]
I'd like to put the time on the y axis, color code the bars to distinguish between Male and Female, and then for individuals in either group who has a 1 under significance, put a star above their corresponding bar.
Thanks for any suggestions in advance.

dput? - David Robinson