Displaying 20 results from an estimated 97 matches for "manhattan".
2006 Apr 07
2
cclust causes R to crash when using manhattan kmeans
Dear R users,
When I run the following code, R crashes:
require(cclust)
x <- matrix(c(0,0,0,1.5,1,-1), ncol=2, byrow=TRUE)
cclust(x, centers=x[2:3,], dist="manhattan", method="kmeans")
While this works:
cclust(x, centers=x[2:3,], dist="euclidean", method="kmeans")
I'm posting this here because I am not sure if it is a bug.
I've been searching for a manhattan kmeans method and I found a solution
by using the package...
2011 Sep 09
2
Manhattan Plot
To whom it may concern:
My name is Jillian Weinfeld. I am currently and undergraduate student at New York University and working at Mount Sinai School of Medicine doing research with epilepsy patients.
At the moment I am creating a manhattan plot with my data set. After reading many forums and such, I have appropriately plotted my data, however, I wanted to see how I can change the colors of the data points for my plot. The normal function that I use for color is not working. I have tried many different arguments, but none seem to work...
2013 Jan 08
1
Manhattan Plot
Hello,
I am trying to create a simple Manhattan plot for a small list of 200 SNPs
spread out in the genome in different genes.
I have tried different functions (using ggplot2 and a function created by
Stephen Turner, mhtplot etc.)-none of them work smoothly.
Does anyone have a simple way to create the plot (not for all 22
chromosomes)- with the...
2013 Apr 27
1
Manhattan Plot
Hi, Tenfei, I have two group of data composed of gene mutation and deletion on specific sites. Will it be possible for me to use the Manhattan Plot for comparison? Thank you for you attention! Li-Wu Guo, Ph.D.
Sent from Windows Mail
[[alternative HTML version deleted]]
2009 Mar 29
1
[cluster package question] What is the "sum of the dissimilarities" in the pam command ?
Hello Martin Maechler and All,
A simple question (I hope):
How can I compute the "sum of the dissimilarities" that appears in the pam
command (from the cluster package) ?
Is it the "manhattan" distance (such as the one implemented by "dist") ?
I am asking since I am running clustering on a dataset. I found 7 medoids
with the pam command, and from it I have the medoid to which each
observation belongs to. But when I check it, I find only (about) 90% of
observations has t...
2012 Oct 08
1
Any better way of optimizing time for calculating distances in the mentioned scenario??
Dear All,
I'm dealing with a case, where 'manhattan' distance of each of 100
vectors is calculated from 10000 other vectors. For achieving this,
following 4 scenarios are tested:
1) scenario 1:
> x<-read.table("query.vec")
> v<-read.table("query.vec2")
> d<-matrix(nrow=nrow(v),ncol=nrow(x))
> for (i in...
2007 Apr 14
0
FreeBSD Job Opportunity in Manhattan
Greetings,
I am reaching out to this mailing list with the following job
opportunity. It is with a high-volume, heavy-traffic web property
based in Manhattan.
The job description is below. If interested please send an updated
resume to nathan.madsen@algomod.com
Regards,
Nathan Madsen
Algomod Technologies Corporation
116 John Street
New York, NY 10038
Job # : 07-03069
Job Title : Senior Systems Administrator
Job Location : N...
2010 Dec 27
1
duke nukem manhattan project - doesn't see the CD
Hi
I've successfully installed Duke Nukem Manhattan Project, but when I try to start it, it prompts for the CD, although the CD is in the drive and the drive is set up properly in Wine settings. It seems people have run the game successfully on wine, so perhaps someone's got a clue about this issue. Thanks for any help!
2008 Dec 17
1
bug (?!) in "pam()" clustering from fpc package ?
Hello all.
I wish to run k-means with "manhattan" distance.
Since this is not supported by the function "kmeans", I turned to the "pam"
function in the "fpc" package.
Yet, when I tried to have the algorithm run with different starting points,
I found that pam ignores and keep on starting the algorithm from the s...
2003 Sep 14
1
title for plot contain 4 subplots
...4 graphs on one page (2x2 matrix) but I cant seem to get
the title for the whole page right.
I'm doing:
op <- par(mfrow = c(2,2), pty="s")
hist(var$V2, breaks="FD",main="Euclidean Metric", xlab="Sum of 3NN ...
hist(var$V2, breaks="FD",main="Manhattan Metric", xlab="Sum of 3NN ...
hist(var$V2, breaks="FD",main="Euclidean Metric", xlab="Sum of 3NN ...
hist(var$V2, breaks="FD",main="Manhattan Metric", xlab="Sum of 3NN ...
At this point I would like to place a title at the head of the pag...
2006 Mar 29
6
which function to use to do classification
Dear All,
I have a data, suppose it is an N*M matrix data. All I want is to classify it into, let see, 3 classes. Which method(s) do you think is(are) appropriate for this purpose? Any reference will be welcome! Thanks!
Best,
Baoqiang Cao
2005 Sep 12
4
Document clustering for R
I'm working on a project related to document clustering. I know that R
has clustering algorithms such as clara, but only supports two distance
metrics: euclidian and manhattan, which are not very useful for
clustering documents. I was wondering how easy it would be to extend the
clustering package in R to support other distance metrics, such as
cosine distance, or if there was an API for custom distance metrics.
Best regards,
Raymond Pon
pon3 at llnl.gov
x43062
2004 Sep 12
2
mahalanobis distance
Is there a function that calculate the mahalanobis distance in R .
The dist function calculates "euclidean"', '"maximum"', '"manhattan"',
'"canberra"',
'"binary"' or '"minkowski"'.
Thanks ../Murli
2003 Mar 05
2
problem with cclust[er] package
...> repeatedly until some ceratain conditions
> for a cluster are met. Unfortunately,
> the system crashes on the second call (after debugging).
>
> # kmeans res1 is a well defined matrix
> cl <- cclust(res1, as.numeric(ncntrs), iter.max = 20, verbose = FALSE,
> dist="manhattan", method="kmeans")
>
>
> RGui has generated errors and will be closed by Windows. ...
>
> What might be the problem?
There is a section in the rw-FAQ on how to find out.
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics...
2007 Nov 28
2
Clustering
Hello all!
I am performingsome clustering analysis on microarray data using
agnes{cluster} and I have created my own dissimilarity matrix according to a
distance measure different from "euclidean" or "manhattan" etc. My question
is, if I choose for example method="complete", how are the distances
between the elements calculated? Are they taken form the dissimilarity
matrix I have provided as the first argument?
clust.complete.agnes<-agnes(as.dist(D),diss="TRUE",method="co...
2008 Jan 18
16
Need a good RoR developer
Hi, I''m looking for qualified Ruby on Rails developers to work on a
client web portal project in Midtown Manhattan for a large financial
research company.
Requirement Overview:
Ruby / Ruby on Rails developer with strong object oriented programming
background. Good understanding of model driven architecture, MVC, RDBS
and data modeling.
Required Skill Set:
- BS. in Computer Science (or closely related field)...
1999 Jan 20
2
dist function suggestion
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
---559023410-162216788-916833047=:29339
Content-Type: TEXT/PLAIN; charset=US-ASCII
On my R installation (0.62.4) there is no dist() function, so I attach one
possibility. It provides
2012 Jul 13
2
alternate tick labels and tick marks with lattice xyplot
Hi,
I would like to use xyplot to create a figure. Unfortunately, I cannot find
documentation in xyplot to specify alternating the x-axis tick labels with
the x-axis tick marks. I can do this with the regular R plot function as
follows.
#A small version of my data looks like this
data<-data.frame(matrix(ncol=3,nrow=12))
data[,1]<-rep(c(1,2,3),c(4,4,4))
data[,2]<-rep(c(1,2,3,4),3)
2002 Oct 21
1
dist() {"mva" package} bug: treats +/- Inf as NA
...he fix to the problem is not entirely obvious, I post
this to R-devel as RFC:
help(dist) says:
>> Missing values are allowed, and are excluded from all computations
>> involving the rows within which they occur. If some columns are
>> excluded in calculating a Euclidean, Manhattan or Canberra
>> distance, the sum is scaled up proportionally to the number of
>> columns used. If all pairs are excluded when calculating a
>> particular distance, the value is `NA'.
but the C code in ....../src/library/mva/src/distance.c,
has, e.g. for the Euclidean d...
2003 Mar 05
1
problem with ccluster package
...cclust function in cclust package
repeatedly until some ceratain conditions
for a cluster are met. Unfortunately,
the system crashes on the second call (after debugging).
# kmeans res1 is a well defined matrix
cl <- cclust(res1, as.numeric(ncntrs), iter.max = 20, verbose = FALSE,
dist="manhattan", method="kmeans")
RGui has generated errors and will be closed by Windows. ...
What might be the problem?
Thank you,
Igor.