This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Box plots in R

Am trying to create a grouped box plot using R, and this is the explanation of R gallery

https://www.r-graph-gallery.com/265-grouped-boxplot-with-ggplot2.html

I don't understand what "note" is referring to or how to apply it on my data, for example the Y axis in my data should represent phytohormones concentrations so how can I identify it? which numbers to use?

r box plot

the note column is the data they are plotting. Look at the dataframe (called data) and get your data in the same format. Then you can copy their code to plot. If you post a snippet of your data (properly formatted of course) then I can help plot using ggplot2.

I figured it out many thanks, can you help in how to represent the error bars in box plots?

1 answer

Replace note with whatever column name you are using for phytohormones concentrations in your data.

If an answer was helpful, you should upvote it; if the answer resolved your question, you should mark it as accepted. You can accept more than one if they work.
Upvote|Bookmark|Accept

Log in to answer this question.