I'm trying to make a stacked bar graph but I can't seem to get the protobacteria to group together. This is the code I used
ggplot(data = Bacteria, aes(x = bacteria$Location, y = bacteria$reads, fill = bacteria$Phylum.Division)) + geom_bar(stat="identity")
Is there something I can add to my code? I've attached a picture of my graph currently.