search for: colind

Displaying 20 results from an estimated 20 matches for "colind".

Did you mean: colin
2006 Feb 11
2
heatmap.2 in gplots (PR#8587)
...ell. This is similar to how NA works for the same argument names in the heatmap function. Achieving this behavior is straightforward. Assuming FALSE is the argument for suppression, the column dendrogram/reordering can be achieved by modifying heatmap.2 near line 78-80: FROM: else { colInd <- order(Colv) } TO: else if ( isTRUE(Colv) ) { colInd <- order(Colv) } else colInd <- 1:nc This does suppress the automatic column ordering/dendrogram as desired. Similar fixes for the Rowv argument are needed. R is great - keep up the work. Shane
2020 Jun 21
1
Possible bug in heatmap()?
...ck = 0, : 'at' and 'labels' lengths differ, 5 != 10 Works fine under 4.0.1. Looking at the code from 4.0.1 vs. Rdevel, esp. this part sticks out: labRow <- labRow[rowInd] %||% rownames(x) %||% (1L:nr)[rowInd] labCol <- labCol[rowInd] %||% colnames(x) %||% (1L:nc)[colInd] Maybe this should be: labCol <- labCol[colInd] %||% colnames(x) %||% (1L:nc)[colInd] > sessionInfo() R Under development (unstable) (2020-06-21 r78727) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 16.04.6 LTS Matrix products: default BLAS: /home/wviechtb/rdev/lib/li...
2006 Jan 18
2
Help with plot.svm from e1071
...t;- svm(class~., data=spiral) > plot(m, spiral) Error in -x$index : invalid argument to unary operator So we delve into e1071:::plot.svm. When I run the code in plot.svm everything is fine up until points(formula, data = data[-x$index, ], pch = dataSymbol, col = symbolPalette[colind[-x$index]]) That gives me the same error message, "Error in -x$index : invalid argument to unary operator". The weird thing is that I can run either of the those statements in isolation data[-x$index, ] symbolPalette[colind[-x$index]] and neither gives me an error. I looked in the two poi...
2009 Jul 04
1
De que otra forma se puede hacer
Hola que tal alguien de ustedes me podría auxiliar, lo que pasa es que estoy tratando de hacer un programa en R utilizando la siguiente tabla: x<1 km x>1km Estabilidad a c d f c d f A 213 440.8 1.94 9.27 459.70 2.094 -9.6 B 156 106.6 1.15 3.30 108.20 1.098 2.0 C 104 61.0 0.91 0.00 61.00 0.911 0.0 D 68 33.2 0.73 -1.70 44.50 0.516 -13.0 E 51 22.8 0.68 -1.30 55.40 0.305
2006 Jan 19
0
Using svm.plot with mlbench.spirals.
...lt;- svm(class~., data=spiral) > plot(m, spiral) Error in -x$index : invalid argument to unary operator So we delve into e1071:::plot.svm. When I run the code in plot.svm everything is fine up until points(formula, data = data[-x$index, ], pch = dataSymbol, col = symbolPalette[colind[-x$index]]) That gives me the same error message, "Error in -x$index : invalid argument to unary operator". The weird thing is that I can run either of the those statements in isolation data[-x$index, ] symbolPalette[colind[-x$index]] and neither gives me an error. I looked in the two poi...
2013 Apr 03
1
how to re-shape a matrix
Hi All, I have a matrix like m <- matrix( letters[1:10], ncol=5) How to conver it to 10 * 3 matrix, which the first col is row index of m, second col is colum index of m and third column is the value of matrix, say 1 1 1 "a" 2 1 2 "c" 1 3 "e" etc... Thanks. [[alternative HTML version deleted]]
2004 Feb 16
1
labRow/labCol options in heatmap()
...are specified, the row/column labels (or indices) of the input matrix are taken as labels and re-ordered together with the rows and columns of the matrix before plotting, whereas labels supplied via labRow/labCol are plotted in the original order. Code from heatmap(), R 1.8.1: x <- x[rowInd, colInd] if (is.null(labRow)) labRow <- if (is.null(rownames(x))) (1:nr)[rowInd] else rownames(x) if (is.null(labCol)) labCol <- if (is.null(colnames(x))) (1:nc)[colInd] else colnames(x) ... axis(1, 1:nc, labels = labCol, las = 2, line = -0.5, tick = 0, cex.ax...
2010 Feb 23
2
heatmap.3
...(rsc)[2] - 1)/(dim(rsc)[2] - 1), colnames(RowSideColors), las = 2, tick = FALSE) } } } if (!missing(ColSideColors)) { if (!is.matrix(ColSideColors)){ par(mar = c(0.5, 0, 0, margins[2])) image(cbind(1:nc), col = ColSideColors[colInd], axes = FALSE) } else{ par(mar = c(0.5, 0, 0, margins[2])) csc = ColSideColors[colInd, ] csc.colors = matrix() csc.names = names(table(csc)) csc.i = 1 for (csc.name in csc.names) { csc.colors[csc.i] = csc.name...
2007 Apr 25
1
heatmap and phylogram / dendogram ploting problem, ape package
I am having trouble displaying a dendrogram of evolutionary relationships (a phylogram imported from the ape package) as the vertical component of a heatmap, but keeping the hierarchical clustering of the horizontal component. The relationships of the vertical component in the generated heatmap are not that of the dendrogram, although the ordering is. In more detail, I am attempting to generate
2015 Jul 08
7
[LLVMdev] LLVM loop vectorizer
Hello. I am trying to vectorize a CSR SpMV (sparse matrix vector multiplication) procedure but the LLVM loop vectorizer is not able to handle such code. I am using cland and llvm version 3.4 (on Ubuntu 12.10). I use the -fvectorize option with clang and -loop-vectorize with opt-3.4 . The CSR SpMV function is inspired from
2005 Aug 11
0
easier way to print heatmap on multiple pages?
...file="~/Desktop/Alfalfa-Ladak-StemV3.pdf", width=8, height=12, pointsize=4) for(i in 1:20){ selected = heatAll$rowInd[((i-1)*50):((i-1)*50+50)] ##get original row order in groups of 50 heatmap.2(combined.int.top[selected,], Rowv = FALSE, ##prevent row re-ordering Colv=heatAll$colInd, col=cm.colors(256), trace="none", margins = c(9,8), main=paste("page", i, sep=" ")) } dev.off() I can't think of why this wouldn't work, but for some reason things are completely out of order. For example, the first page of the PDF shows many...
2009 Jul 21
1
problem with heatmap.2 in package gplots generating non-finite breaks
...al(expr, envir, enclos) Browse[1]> heatmap.func.R Error during wrapup: object 'heatmap.func.R' not found Browse[1]> ls() [1] "add.expr" "breaks" "cellnote" "cexCol" [5] "cexRow" "col" "colInd" "colsep" [9] "ColSideColors" "Colv" "ddc" "ddr" [13] "dendrogram" "densadj" "denscol" "density.info" [17] "di" "distfun" &qu...
2002 Nov 22
0
Copied file becomes infinate
...want to setup the Windows back-up to chop that 7.1 gigs into much smaller chunks. I hope that I have been a little helpful. Good luck. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. Ph. 586-254-5800 Fx. 586-254-5804 -----Original Message----- From: Colin Davis [mailto:ColinD@traininghott.com] Sent: Friday, November 22, 2002 1:06 PM To: samba@lists.samba.org; Robert Adkins Subject: [Samba] Copied file becomes infinately large I'm trying to back-up a set of windows machines onto a single Linux machine, so that I can easily make a tape from there. The Linux Mac...
2016 Feb 18
3
[LLVMdev] LLVM loop vectorizer
...>>> Hi Alex, >>> >>> Example from the link you provided looks like this: >>> >>> |for (i=0; i<M; i++ ){ >>> z[i]=0; >>> for (ckey=row_ptr[i]; ckey<row_ptr[i+1]; ckey++) { >>> z[i] += data[ckey]*x[colind[ckey]]; >>> } >>> }| >>> >>> Is it the loop you are trying to vectorize? I don’t see any ‘if’ inside the innermost loop. >> I tried to simplify this code in the hope the loop vectorizer can take care of it better: >> I linearized... >> &...
2002 Jul 24
4
Winbind trouble. Wbinfo see's users, "getent passwd" doesn't
I'm trying to set up a new fileshare, to replace an aging NT4 machine we've been using for far too long. I'd like to run Linux (RedHat 7.3) on the machine. Basically, I'm trying to create a fileshare "files" that people can transparently log in to from NT4 and Windows 2000 workstations. My boss has approved the use of Linux for the server, but only if I can make it
2016 Jun 04
4
[LLVMdev] LLVM loop vectorizer
...;>>> Hi Alex, >>>>> >>>>> Example from the link you provided looks like this: >>>>> >>>>> |for (i=0; i<M; i++ ){ z[i]=0; for (ckey=row_ptr[i]; ckey<row_ptr[i+1]; >>>>> ckey++) { z[i] += data[ckey]*x[colind[ckey]]; } }| >>>>> >>>>> Is it the loop you are trying to vectorize? I don’t see any ‘if’ inside the >>>>> innermost loop. >>>> I tried to simplify this code in the hope the loop vectorizer can take care of it >>>> better: I line...
2016 Jun 07
2
[LLVMdev] LLVM loop vectorizer
...;>>> Hi Alex, >>>>> >>>>> Example from the link you provided looks like this: >>>>> >>>>> |for (i=0; i<M; i++ ){ z[i]=0; for (ckey=row_ptr[i]; ckey<row_ptr[i+1]; >>>>> ckey++) { z[i] += data[ckey]*x[colind[ckey]]; } }| >>>>> >>>>> Is it the loop you are trying to vectorize? I don’t see any ‘if’ inside the >>>>> innermost loop. >>>> I tried to simplify this code in the hope the loop vectorizer can take care of it >>>> better: I line...
2002 Nov 22
0
RE:swat in samba-2.2.7
...Tel: 650-933-2177 http://www.sgi.com Fax: 650-932-2177 PGP Key: 0x8408D65D ====================================================================== --__--__-- Message: 12 Date: Fri, 22 Nov 2002 13:06:28 -0500 From: "Colin Davis" <ColinD@traininghott.com> To: <samba@lists.samba.org> Subject: [Samba] Copied file becomes infinately large I'm trying to back-up a set of windows machines onto a single Linux machine, so that I can easily make a tape from there. The Linux Machine (RedHat 7.3, running samba 2.2.6), is set to...
2002 Nov 22
0
Copied file becomes infinately large
I'm trying to back-up a set of windows machines onto a single Linux machine, so that I can easily make a tape from there. The Linux Machine (RedHat 7.3, running samba 2.2.6), is set to use mount.smbfs to log in to each machine's Administrative share, and copy several files from the hard drive. One machine is giving me a great deal of difficulty, however. Our last remaining window's
2002 Dec 17
2
Still having trouble with copying large files
I had originally written about this problem last month (http://lists.samba.org/pipermail/samba/2002-November/085418.html) Since then, our company has added another Windows Fileserver which I'm trying to back up, and they are both having the problem. Because it happens on both servers, this leads me to believe it really is a problem with my Samba server. I've upgraded to 2.2.7a, as the