I have 4 separate results from an upstream analysis. I want to combine them and make a plot. I'm not sure the best way to go about this, appreciative of any advice you have.
drug1_concentration = 30 (character)
drug2_concentration = 80 (character)
drug1_response = 16 (numeric)
drug2_response = 18 (numeric)
combined_response = 99 (numeric)
I want to take these 4 pieces and make a simple plot like so:
Thank you!
FJCC
September 22, 2020, 7:10pm
2
Here is a start. How close to you want to get to the style of the plot you posted?
library(ggplot2)
DF <- data.frame(Conc = c("30", "80", "Combined"), Response = c(16, 18, 99))
ggplot(DF, aes(x = Conc, y = Response)) + geom_col(fill = "steelblue", width = 0.5) +
labs(x = "Drug Concentration", y = "Drug Response") +
coord_flip()
Created on 2020-09-22 by the reprex package (v0.3.0)
1 Like
system
Closed
September 29, 2020, 7:10pm
3
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed. If you have a query related to it or one of the replies, start a new topic and refer back with a link.