I have got a fold-change dataset and I simply would like to plot something like this:
The problem is that I have only numbers in my columns and when I use a boxplot() function I can plot only boxes but not dots, jitter, etc.
I use this code to build a df and then proceed to a boxplot
A <- c(-1, 25, 3, 4, 50) B <- c(23, -41, 32, 68, 26) C <- c(63, 71, 22, -8, 2) D <- c(16, -49, 2, 56, 6) df <- data.frame(A, B, C, D) print (df) boxplot(df)
How can I plot something that looks like the above picture? Thanks