search for: lwid

Displaying 6 results from an estimated 6 matches for "lwid".

Did you mean: laid
2010 Feb 23
2
heatmap.3
...quot;) if (!is.character(RowSideColors) || dim(RowSideColors)[1] != nr) stop("'RowSideColors' must be a character vector of length nrow(x)") lmat <- cbind(lmat[, 1] + 1, c(rep(NA, nrow(lmat) - 1), 1), lmat[, 2] + 1) lwid <- c(lwid[1], 0.2, lwid[2]) } lmat[is.na(lmat)] <- 0 } if (length(lhei) != nrow(lmat)) stop("lhei must have length = nrow(lmat) = ", nrow(lmat)) if (length(lwid) != ncol(lmat)) stop("lwid must have length =...
2013 Mar 12
1
Request for more flexibility in heatmap() width / height ratio
.../html/heatmap.2.html But after a quick look at the "stats" package sources, this seems quite easy to fix, without breaking backward compatibility : [ src/library/stats/R/dendrogram.R ] - line 689 : add "width=1" and "height=1" as arguments to heatmap() - line 768 : lwid <- c(if(doRdend) 1 else 0.05, 4) lwid <- c(if(doRdend) 1 else 0.05, width*4) - line 769 : lhei <- c((if(doCdend) 1 else 0.05) + if(!is.null(main)) 0.2 else 0, 4) lhei <- c((if(doCdend) 1 else 0.05) + if(!is.null(main)) 0.2 else 0, height*4) As the defau...
2005 Jun 16
2
heatmap aspect ratio
Hi all, Does anyone know of a fairly easy way to "stretch" a heatmap vertically? I've got 42 arrays and would like to be able to see as many significant genes as possible (right now I can only get 50 genes with it still being readable). In some comparisons there are several hundred significant genes. I've fiddled with the "asp" argument, but that doesn't
2009 Aug 19
1
moving color key in heatmap
Dear list, I have a question on moving color keys when side color bars are added to a heatmap. The R code below produces the color key in the upper left corner. Notice I have added side bars to the heatmap, but how could I move the color key below the image? ------ library(gplots) data(mtcars) x <- as.matrix(mtcars) rc <- rainbow(nrow(x), start=0, end=.3) cc <- rainbow(ncol(x),
2016 Apr 18
2
heatmap2 error key
...dendrogram = "none", density.info="none", key="TRUE", keysize = 2, key.xlab = "Log2FC", key.title = "key", cexCol=3.0, cexRow=2, lwid= c(0.4,1), lhei = c(0.1, 4), margins= c(50,80), symm=F,symkey=F,symbreaks=T, scale="none") dev.off() > R.version _ platform x86_64-apple-darwin13.4.0 arch x86_64 os darwin13.4.0 system x86...
2009 Jul 21
1
problem with heatmap.2 in package gplots generating non-finite breaks
...quot; "hclustfun" [21] "hcr" "hline" "iy" "key" [25] "keysize" "labCol" "labRow" "lhei" [29] "linecol" "lmat" "lwid" "main" [33] "margins" "max.breaks" "max.raw" "max.scale" [37] "min.breaks" "min.raw" "min.scale" "mmat" [41] "na.color" "na.rm" &quot...