search for: leaflab

Displaying 8 results from an estimated 8 matches for "leaflab".

Did you mean: leaflabs
2005 Oct 23
1
Coloring leaves, twigs and labels in plot.dendrogram()
...Or is there an easier way of doing this that I have missed? Walton Green * * * my.dend.plot <- function (x, type = c("rectangle", "triangle"), center = FALSE, edge.root = is.leaf(x) || !is.null(attr(x, "edgetext")), nodePar = NULL, edgePar = list(), leaflab = c("perpendicular", "textlike", "none"), dLeaf = NULL, xlab = "", ylab = "", xaxt = "n", yaxt = "s", horiz = FALSE, frame.plot = FALSE, twig.col = NULL, lab.col = NULL, leaf.col = NULL, ...){ ##########################...
2010 Nov 15
1
plot.dendrogram() plot margins
Hello, Is it possible to remove those extra margins on the "sample" axis from plot.dendrogram: par(oma=c(0,0,0,0),mar=c(0,0,0,0)) ddr<-as.dendrogram(hclust(dist(matrix(sample(1:1000,200),nrow=100)))) stats:::plot.dendrogram(ddr,horiz=F,axes=F,yaxs="i",leaflab="none") vs. stats:::plot.dendrogram(ddr,horiz=T,axes=F,yaxs="i",leaflab="none") What variable / line of code corresponds to this additional margin space? I would like to modify the code to remove the extra space and have that margin equal to that when horiz=T, for p...
2015 Mar 30
2
[LLVMdev] Color diagnostics
...t it should be an optional dependency. If the target system has tinfo or ncurses, it should use it, otherwise fallback to no color. On Mon, Mar 30, 2015 at 6:02 PM, Hans Wennborg <hans at chromium.org> wrote: > Hi Perry, > > On Mon, Mar 30, 2015 at 11:16 AM, Perry Hung <perry at leaflabs.com> wrote: > > I'm using the official 3.6 release binaries for x64 Linux. When compiling > > with warnings, I don't see any color diagnostics. Explicitly enabling > > -fcolor-diagnostics works fine. I have TERM set to xterm-256color. Any > idea > > why? >...
2015 Mar 30
4
[LLVMdev] Color diagnostics
Hi, I'm using the official 3.6 release binaries for x64 Linux. When compiling with warnings, I don't see any color diagnostics. Explicitly enabling -fcolor-diagnostics works fine. I have TERM set to xterm-256color. Any idea why? For what it's worth, I tried compiling LLVM/clang from trunk and color diagnostics work fine by default. Upon further investigation, I saw that the official
2004 Oct 21
3
error in plot.dendrogram (PR#7300)
Hi, hres <- hclust(smatr,method="single") hresd<-as.dendrogram(hres) as.dendrogram(hres) `dendrogram' with 2 branches and 380 members total, at height 2514.513 plot(hresd,leaflab="none") #<-error here. #the plotted dendrogram is incomplete. The x axis is not drawn. #The interested reader can download the save(hresd,file="hres.rda") #from the following loacation www.molgen.mpg.de/~wolski/hres.rda Yours /E --please do not edit the information...
2015 Mar 30
3
[LLVMdev] Color diagnostics
...who released the compiler > > I'm really not sure what the right answer is here, though I don't know > that much about releasing software & dependencies (whether they can be made > dynamically optional, etc) > > On Mon, Mar 30, 2015 at 11:16 AM, Perry Hung <perry at leaflabs.com> wrote: > >> Hi, >> >> I'm using the official 3.6 release binaries for x64 Linux. When compiling >> with warnings, I don't see any color diagnostics. Explicitly enabling >> -fcolor-diagnostics works fine. I have TERM set to xterm-256color. Any idea &...
2007 Jun 13
2
Formatted Data File Question for Clustering -Quickie Project
...tion(n) { if(!is.leaf(n)) { attr(n, "edgePar") <- list(p.col="plum") attr(n, "edgetext") <- paste(attr(n,"members"),"members") } n } d3e <- dendrapply(d3, addE) plot(d3e, nodePar= nP) plot(d3e, nodePar= nP, leaflab = "textlike") -------------------------------------------------------- This information is being sent at the recipient's request or...{{dropped}}
2011 Sep 26
0
horizontal labels for a dendrogram
...y(res, chlab) print(res2) pdf("dendrogram.pdf",width=5,height=2.5,pointsize=8,paper='special') par(mai=c(0.5,0.5,0.2,0.2)) plot(res2) dev.off() This works nicely with the exception of one detail: the labels are perpendicular to the normal reading direction. I'm aware of the leaflab="textlike" option which does put the labels horizontally, however, it also draws rectangles around the labels which I don't want. How can I create a dendrogram with horizontal labels, without those rectangles? Some example data for the script: code;name;sex;date1;exp_type;exp1;cate...