tember 08, 2004 2:22 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: [R] heatmap help
>
>
> Hello,
>
>
> I was just doing heatmaps myself ;-) and I had the same problem.
> It would be
> nice to have such an example in the help file because it is not
>
Hello,
I was just doing heatmaps myself ;-) and I had the same problem. It would be
nice to have such an example in the help file because it is not clear (thank
you).
you use (for example... this is my case, which I am doing the distance
matrix using vegdist function with Bray curtis similarity):
Sorry. I think you need the argument distfun=as.dist. E.g.,
heatmap(x, distfun=as.dist, symm=TRUE, scale="none")
Andy
> From: Liaw, Andy
>
> I believe you want to pass the (symmetric) matrix as is,
> rather than wrapped
> in as.dist(). E.g.,
>
> x <- as.matrix(dist(matrix(rnorm(100), 20, 5
I believe you want to pass the (symmetric) matrix as is, rather than wrapped
in as.dist(). E.g.,
x <- as.matrix(dist(matrix(rnorm(100), 20, 5)))
heatmap(x, symm=TRUE, scale="none")
HTH,
Andy
> From: Paul Lepp
>
> Dear R wizards,
> Hopeful someone can help me with what I believe is a
> p
Dear R wizards,
Hopeful someone can help me with what I believe is a pretty simple task. I
pretty new to R so some (much) of the obvious escapes me. How do I get a
distance matrix into heatmap? What do I tell distfun if what I'm trying to
map is already an ordered distance matrix? I trie