How to create a grouped barplot using ggplot?

Hi,

In general it would help if you can post a reprex (FAQ: How to do a minimal reproducible example ( reprex ) for beginners) so we can work with your data and just a description of what exactly you want to accomplish.

Here is an example of how you can create a grouped barplot:

# library
library(ggplot2)

# create a dataset
specie <- c(rep("sorgho" , 3) , rep("poacee" , 3) , rep("banana" , 3) , rep("triticum" , 3) )
condition <- rep(c("normal" , "stress" , "Nitrogen") , 4)
value <- abs(rnorm(12 , 0 , 15))
data <- data.frame(specie,condition,value)

# Grouped
ggplot(data, aes(fill=condition, y=value, x=specie)) + 
  geom_bar(position="dodge", stat="identity")

Created on 2021-10-26 by the reprex package (v2.0.0)