Re: [R] how to reverse colors on boxplot

2019-08-08 Thread Rui Barradas
Hello, Maybe I don't understand the question but isn't all you have to do is to, well, reverse the colors col = c("palevioletred1", "royalblue1") in the boxplot call? boxplot(flcn_M ~ subject, data = dx, col = c("palevioletred1", "royalblue1"), xlab="subjects", ylab="

[R] how to reverse colors on boxplot

2019-08-08 Thread Ana Marija
Hello, I made plot in attach using: boxplot(flcn_M~subject,data=dx,col = c("royalblue1","palevioletred1"),xlab="subjects",ylab="Expression estimate in delta (log2)",boxwex = 0.2,frame.plot = FALSE) stripchart(flcn_M~subject, vertical = TRUE, data = dx,method = "jitter", add = TRUE,pch = 20, col=r