search for: make_s_figure

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

2011 Dec 12
2
Color2D.matplot uniform color range
...1. (2) if an entry is in the range [1,infinity] the color scale should have minimum color value 1 and maximum color value 3. (I used infinity simply because there is no way of knowing how high the value will be beforehand). Any help would be greatly appreciated. Thanks, Jav library(plotrix) make_S_figure<-function(filename,alias){ h0 <- read.csv(file=filename,head=TRUE,sep=",",row.names=1) d =data.matrix(h0) m <- 1:20 cellcolors<-matrix(NA,nrow=20,ncol=20) cellcolors2<--matrix(NA,nrow=20,ncol=20) for(i in 1:length(m)){ cellcolors[d >= 1]<-color.scale(d[d>=...