similar to: 2 questions about cluster analysis

Displaying 20 results from an estimated 1000 matches similar to: "2 questions about cluster analysis"

2002 Aug 31
2
Counting elements in 2 rows of a matrix
Dear R-users: Sorry to bother so late with this question, which surely has simple answer. I'm working with matrices that contain either "1" or "0", for example: [,1] [,2] [,3] [,4] [,5] A 1 0 1 0 0 B 0 1 0 1 0 C 1 0 1 0 0 D 1 1 1 0 1 I want to count the number of "1" common to, say, A and B, the
2002 May 29
2
Problem installing packages
Dear R-experts, I'm a new R user and so far have no complains about ir. However I still can't figure out how to install packages. I'm running the R 1.5.0 (Carbon) under OS X. I just downloaded some packages from CRAN (Tree, among them) and moved them to the library folder in R. When the R session started, I was expecting that using the command library(tree) would do it, but
2010 May 08
1
Error in RImageJ
Hello everybody, I'm running R under Mac OS 10.6.3 on a MacBook 2.16 GHz Intel Core 2 Duo. I've recently installed R 2.11.0 and the RImageJ library v. 0.1-142. When trying to follow the example given in the package manual and I get the following error: download.file( "http://www.google.fr/intl/en_en/images/logo.gif", dest = "google.gif" ) trying URL
2013 Dec 07
1
How to perform clustering without removing rows where NA is present in R
I have a data which contain some NA value in their elements. What I want to do is to **perform clustering without removing rows** where the NA is present. I understand that `gower` distance measure in `daisy` allow such situation. But why my code below doesn't work? __BEGIN__ # plot heat map with dendogram together. library("gplots") library("cluster")
2006 Mar 21
3
transform shapefiles in UTM to lat/long
Dear all: I have a shapefile in UTM coordinate system and I would like to transform it to Lat/Log coordinates (WSG84). The package PBSmapping contains function convUL to transform between the two coordinate systems when data is in the form of a data frame with attributes specifying the coordinate system. However, when shapefiles are imported using function read.shape (package maptools), a list
2012 Dec 04
1
How do I get internal nodes of dendograms produced by R?
I am using R for hierarchical clustering of a number of documents. I have a distance matrix on which I have applied hclust method. When I plot the result of hclust method, I can see the dendogram plotted. What I need now is the dendogram stored as a tree in a data structure. My goal is to automatically label all internal nodes. For that, I need to know, which leaf nodes make a first level
2009 Apr 07
2
heatmap.2 no reordering of the columns and rows
Hi,   I need to generate a heatmap on a square matrix and wouldn't want to reorder the columns and the rows on the heatmap display.    I have used the options Rowv=NULL and Colv=NULL but doesn't seem to work. Following is a snippet of the heatmap function i am using. args <- commandArgs(); inputfile <- args[2] imgfile   <- args[3] bitmap(imgfile, height=15, width=15, res=100,
2012 May 29
1
community finding in a graph and heatplot
Hi everyone, I am using the fastgreedy.community function to get the $merges matrix and the $modularity vector. This serves my purpose of testing modularity of my graph. But I am "greedy" to plot the heat map and dendrrogram based on the $merges dendogram matrix. I know that heatplot does the graphics part but I am not sure if the dendogram generated by the heatplot will match the one
2017 Jun 09
2
Dendogram from RNAseq read count to show correlation between biological replicate using R
Dear all, I need to make dendogram from read count in a csv file across 34 samples including biological replicate. Please share R code or package to do this. Do I also need to normalized read count before using read data? Thanks [[alternative HTML version deleted]]
2005 Mar 24
2
font sizes for row.names of dendograms
Dear R I recently performed a cluster analysis. It produced the dendogram no problem but unfortunately the font size of the row.names were all cluttered due to their large size So I tried to change the font size using plclust(cluster.results, labels=iris$specie, cex=0.8) and R came back to me saying Error in plclust(cluster.results, labels = iris$specie, cex = 0.8) : unused argument(s)
2011 Dec 22
1
large data set (matrix) using image()
When I use the image() function for a relatively small matrix it works perfectly, eg.x <- 1:100 > z <- matrix(rnorm(10^4),10^2,10^2) > image(x=x,y=x,z=z,col=rainbow(3))but when I want to plot a larger matrix, it doesn't really work. Most of the times, it just plot a few intermitent points.x <- 1:1000 z <- matrix(rnorm(10^6),10^3,10^3) image(x=x,y=x,z=z,col=rainbow(3))
2007 May 29
2
hierarhical cluster analysis of groups of vectors
I want to do hierarchical cluster analysis to compare 10 groups of vectors with five vectors in each group (i.e. I want to make a dendogram showing the clustering of the different groups). I've looked into using dist and hclust, but cannot see how to compare the different groups instead of the individual vectors. I am thankful for any help. Anders
2006 Jun 08
1
"reversed" dendogram
Dear All, I am trying to find a way to plot a dendogram in reverse, that is, if the terminal leaves are labelled 1-10 bottom to top (or left to right), I would like to be able to plot it in a way such that if would display 10-1 bottom to top or left to right. Any idea how to achieve this? Thanks in advance, r. Dr. Rafael Najmanovich European Bioinformatics Institute Wellcome Trust
2017 Jun 21
1
getting error while trying to make dendogram based on gene expression
I am trying to make dendogram based on gene expression matrix , but getting some error: I countMatrix = read.table("count.row.txt",header=T,sep='\t',check.names=F) colnames(countMatrix) count_matrix <- countMatrix[,-1] # remove first column (gene names) rownames(count_matrix) <- countMatrix[,1] #added first column gene names as rownames) >
2004 Nov 23
3
Wiki Choices
I have selected 4 software packages for us to evaluate in order to decide on the best possible engine for the much-requested cAos Community Wiki. All 4 samples are now up and running for you to try out, play around with, and evalute. The URL's are as follows: https://caos.nplus1.net/c-arbre/ https://caos.nplus1.net/dokuwiki/ https://caos.nplus1.net/pwp/ https://caos.nplus1.net/tikiwiki/
2004 Jan 04
5
Analyzing dendograms??
I have used heatmap to visualize my microarray data. I have a matrix of M-values. I do the following. #The distance between the columns. sampdist <- dist(t(matrix[,]), method="euclidean") sclus <- hclust(sampdist, method="average") #The distance between the rows. genedist <- dist(matrix[,], method="euclidean") gclus <- hclust(genedist,
2011 Nov 18
2
Virtio-win RPM?
I should have this in my head by now... I tried migrating a physical Windows host last night using virt-p2v CD. It ran for 3 hours and then died. I'll get details later from the log but as I think about it, I'll bet it died because I never installed virtio-win in my Fedora migration server. The documentation says do "yum install virtio-win" - but this is RHEL
2005 Mar 23
1
Complete Linkage Clustering techniques
Dear R I recently asked for a cluster analysis Using * cluster.results <- hclust(iris.dist, method="complete") * but nothing happened i.e the previous scatterplot matrix still showed up whereas I was expecting a dendogram. Could it be that because I had used cutree before on the scatter plots that it somehow mucked it up. I tried detach then attach and commenced making the data
2010 Jun 25
1
dimnames(x) <- dn error
Hi , I want to assign names to the rows in my matrix so that when I use the 'agnes' function from R cluster package , the dendogram that is produced represents the rows of the matrix. This way I would know what elements in the matrix are clustered together. But when I do the following, rownames(distF) <- paste("A",dim(distF)[1]) it gives the following error; Error in
2010 Jul 29
1
Pattern recognition
Dear all, I'm trying to use some technic to do a pattern recognition over a large dataset. I really don't have any idea on how to do that using R. Here is a sample of the data: id,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 1480010,208,69,180,465,465,241,241,69,584,26,75,578,507,75,284 1480183,208,69,352,476,531,495,163,241,69,584,69,584,69,484,69