,]]))
trackheight <- ycenter[2]
for(i in 3:length(fake[1,])){
RectPlotter(matrixval=fake[,c(1,2,i)],
ycoord=ycenter[length(ycenter)-i+2-emptylines], trackheight=ycenter[2],
mycolors=mycolors[,i])
text(fake[1,1], ycenter[length(ycenter)-i+2-emptylines], colnames(fake)[i],
cex=cexsize, pos
have to start all over again?
Thanks for any tips.
patrick
On Jan 9, 2014, at 7:54, Pachapep wrote:
>
> Great, it works perfectly! Thanks so much for the awesome help!
> (Happy) patrick
>
> On Jan 9, 2014, at 7:07, Adams, Jean wrote:
>
>> Patrick,
>>
>
n= argument, because title only exists inside the
> ColorBar() function
> plot(c(mymatrix12[1, 1], mymatrix12[nrows, 2]), c(0, 1), col="White",
> xlab="", ylab="", main="SOMETHING", axes=F)
> for(i in 1:ncols){
> RectPlotter(mymatrix12, ycenter[nrows - i +
n't use title for main= argument, because title only exists inside the
> ColorBar() function
> plot(c(mymatrix12[1, 1], mymatrix12[nrows, 2]), c(0, 1), col="White",
> xlab="", ylab="", main="SOMETHING", axes=F)
> for(i in 1:ncols){
> R
to the "x" argument you provide to the
> color.scale function (in package plotrix). So you don't need to manually
> provide the min and max yourself. If for some reason you did need to provide
> that information, you would use the xrange argument not the extremes ar
Hi all,
I have a matrix which I want to plot in color. I have extensively looked at
level plot and heatmap/heatmap.2, but I would like to be able to manage the
size of the bins (boxes) on my X axis. So I thought of simply using the rect()
function, but I can’t get around assigning the correct c
6 matches
Mail list logo