search for: denscol

Displaying 11 results from an estimated 11 matches for "denscol".

Did you mean: denscols
2013 Mar 28
1
scatterplot3d with densCols ?
Hi, I was trying to make a 3D plot using densCols. The documentation for densCols doesn't look like it'll work for 3D. For example: ----------------------------------------- library(scatterplot3d) v1 <- rnorm(10000) v2 <- rnorm(10000) v3 <- rnorm(10000) ## 2D with denscols mat1 <- cbind(v1,v2) mcols1 <- densCols(mat1) pl...
2010 Apr 19
1
densCols: what are the computed densities and how to create a legend
Hi, I'm using the densCols function for a scatterplot and cannot figure out 1) how to extract the computed densities, and 2) how to create a legend based that represents the upper and lower ranges of the densities. For example: movers.den <- densCols(move$x, move$y) table(movers.den) #08306B #083775 #083B7C #083D7E #3...
2008 Mar 14
1
smoothScatter
...x <- rbind(x1,x2) layout(matrix(1:4, ncol=2, byrow=TRUE)) op <- par(mar=rep(2,4)) smoothScatter(x, nrpoints=0) smoothScatter(x) smoothScatter(x, nrpoints=Inf, colramp=colorRampPalette(brewer.pal(9,"YlOrRd")), bandwidth=40) colors <- densCols(x) plot(x, col=colors, pch=20) par(op) But I can't even get the example to work. I have installed geneplotter and RColorBrewer, but I get the messages " Error: could not find function "smoothScatter" Error: could not find function "densCols" I thought it was somet...
2012 Oct 02
5
smoothScatter plot
Hi, I want to make a plot similar to sm1 (attached). The code I tried is: dcols <- densCols(x,y) smoothScatter(x,y, col = dcols, pch=20,xlab="A",ylab="B") abline(h=0, col="red") But it turned out to be s1 (attached) with big dots. I was wondering if anything wrong with my code. Thanks,Zhengyu -------------- next part -------------- A non-text at...
2006 May 16
0
reordering materix presentation in heatmap.2 in the 'gplots' library
...atmap.2 of the 'gplots' library. Both matrices have the same row and column names For the first matrix I'm using the default clustering and column denrogram options: heatmap.2(Matrix1, symm=T, breaks=20, col=rich.colors(19), main="matrix1", density.info="histogram", denscol="black", trace="none", na.rm=T, dendrogram="col", Colv=T) I would like to show the second matrix with the same row and column ordering of the first matrix. I've tried using the following to create dendrogram objects of the first matrix: z=heatmap(Matrix1, keep.de...
2005 Apr 28
1
strange behaviour of importFrom directive in name space
...t none the less I wanted to mention this strange behaviour. Could it be a bug? Regards, Florian Here is my NAMESPACE file: export("analysePlate", "as.all", "barploterrbar", "combineFrames", "csApply", "ddCt", "densCols", "eListWrite", "fitNorm2", "getPradaPar", "histStack", "plotNorm2", "plotPlate", "readCytoSet", "readFCS", "readSDM", "removeCensored", "setPradaPars&qu...
2005 Apr 28
1
strange behaviour of importFrom directive in name space
...t none the less I wanted to mention this strange behaviour. Could it be a bug? Regards, Florian Here is my NAMESPACE file: export("analysePlate", "as.all", "barploterrbar", "combineFrames", "csApply", "ddCt", "densCols", "eListWrite", "fitNorm2", "getPradaPar", "histStack", "plotNorm2", "plotPlate", "readCytoSet", "readFCS", "readSDM", "removeCensored", "setPradaPars&qu...
2011 Sep 21
0
heatmap.2 with colsep and sepwidth
...this? Here is a simple example library(gplots) col <- c( rgb(0,100:0,0,maxColorValue=100), rgb(0:100,0,0,maxColorValue=100) ) heatmap.2(matrix(c(1,2,3,4,9,6,7,3), nrow=2), col=col, trace="none", density.info="density", key=FALSE, ColSideColors=rep("blue", 4), denscol="white", scale="row", dendrogram="none", colsep=c(2), sepwidth=1.8) Regards, Christian
2009 Jul 21
1
problem with heatmap.2 in package gplots generating non-finite breaks
...lnote" "cexCol" [5] "cexRow" "col" "colInd" "colsep" [9] "ColSideColors" "Colv" "ddc" "ddr" [13] "dendrogram" "densadj" "denscol" "density.info" [17] "di" "distfun" "hcc" "hclustfun" [21] "hcr" "hline" "iy" "key" [25] "keysize" "labCol" &...
2013 Jun 04
1
High volume plot using log(local density)
Hi, I am using the densCols to draw a high volume scatter plot. Instead of using the default local density, I would like to take log of the local density and then map them to the colors. I could not figure out how to do that. For example: plot(x,y,col=densCols(x,y,"log")) ? Any help would be appreciated! Jiaxiu...
2010 Jun 30
3
Factor Loadings in Vegan's PCA
Hi all, I am using the vegan package to run a prcincipal components analysis on forest structural variables (tree density, basal area, average height, regeneration density) in R. However, I could not find out how to extract factor loadings (correlations of each variable with each pca axis), as is straightforwar in princomp. Do anyone know how to do that? Moreover, do anyone knows