Hi,
I am trying to color the data points on my boxplot but I only get the
default black.
Not sure why.  Any ideas?
Thank you,
Mark

Here is my code.



> dat.g100 <- dat.sg[100,] # selected gene (row) from a dataframe of
37 columns

> d1 <- as.matrix(dat.g100[,1:18]) # subset 1

> d2 <- as.matrix(dat.g100[,19:37]) # subset 2



# boxplots

> par(mfrow=c(2,1))

> boxplot(d1, cex=0.3, col="red",
las=2,cex.axis=0.6,ylab="intensity",main="B cells: germinal center – gene
100")

> boxplot(d2, cex=0.3, col="blue",
las=2,cex.axis=0.6,ylab="intensity",main="B cells: activated – gene 100")

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to