0

I am trying to format this graph for my thesis. This code works, but what I want is the outline of the graph to be black, with the colour filling the boxes, but I cannot for the life of me get it to do it.

ggboxplot(Combined_Exeter_no_anomalies, x = "Histology", y = c("AMH", "CYP19", "FOXL2","CYP17"), 
ylab = "Relative Gene Expression" , palette = c("#00AFBB", "#008000", "#E7B800", "#FC4E07"), merge= TRUE)

This is my graph so far

Most examples I can find simply tell R to fill = "variable", but as I have four variables to colour, it does not seem to like this and binding the columns together also has not worked. Any thoughts?

This is what I am aiming to achieve

New contributor
Amphibian_Addict is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.