graph boxplot error

0

I would like to plot a graph like this

enter image description here

but the graph is coming out like this

![enter image description here][2]

code

p1 <- ggplot(df, mapping = aes(x = FK_codonRNA , y=tscore,  fill = nomeOrganismo)) + 
  geom_boxplot() +
  facet_wrap(~nomeOrganismo)

df

![enter image description here][3]

size df ![enter image description here][4]

What am I doing wrong? How can I solve this problem?


Rstudio


codon


boxplot


ggplot2

• 77 views


Login
before adding your answer.



Source link