search for: chd1

Displaying 1 result from an estimated 1 matches for "chd1".

Did you mean: cd1
2011 Jun 09
2
scatterplot3d - help assign colors based on multiple conditions
...Any help or ideas would be greatly appreciated. For e.g. in my 3 column matrix below, if I want to assign "red" to all the values whose first column and second column contain "Anterior_nares" and assign black to any other combination. Thanks! Karthik library(scatterplot3d) chd1=read.table(file="test.out", header=F, sep="\t") col=as.vector(chd1[,1]) xlabels=as.vector(chd1[,1]) ylabels=as.vector(chd1[,2]) mycols<-c("red","blue","green","chocolate","orange", "brown") col[grep("_Stool&quo...