I'm trying to create a boxplot in ggplot2 from a data frame, which contains information about count data from multiple samples. In my case, for each of 6 samples, a count is recorded for each gene.
So it would look like this:
df <- data.frame(sample(c(1:100), 20, replace = T), sample(c(1:100), 20, replace = T),
sample(c(1:100), 20, replace = T), sample(c(1:100), 20, replace = T),
sample(c(1:100), 20, replace = T), sample(c(1:100), 20, replace = T))
names(df) <- paste0("Sample-", c(1:6))
rownames(df) <- paste0("Gene-", c(1:20))
Here's what I've tried:
bp <- ggplot(df, aes(x = names(df), y = )) + geom_boxplot()
but I have 0 idea what to put for the y value. Literally no clue. I'm pretty sure I'm not even indicating the x-axis properly. I'd appreciate some help with this very basic problem. I'm sorry for such a simple question.

