Re: [R] best way to plot a evolution in time

2010-06-25 Thread Tal Galili
Hi Nana, The question is not fully clear to me. Are you looking to plot the (let's call it) "family tree" of the genes ? (if so, then using plot(hclust(gene.dist)) Might be a direction for you) Tal Contact Details:--- Contact

[R] best way to plot a evolution in time

2010-06-25 Thread nana
Hi everyone, I have the following question: given three objects let's say: a <- c( 2 , 5, 15, 16) b <- c(1 ,1, 8 , 8) c <- c (10, 10 11 ,11) m<-matrix(c(a,b,c),byrow=T,nrow=3) rownames(m)<-c("gene a", 'gene b','gene c') m gene.dist<-dist(m,method='euclidian') gene.dist which is the best way to pl