Yes, I had to rotate and mirror the tree in TreeView but that's all. And yes, I have to ignore the tree length values from the file.Maybe it is better to post your inquiry to the Bioconductor list (from where hc2newick apparently arrives in package 'ctc').
Some humble suggestions:- don't call a text file .Rdata! Rdata is a specific binary format read using load() and saved using save().
- add to the description of your problem how to read the data, i.e.:
z <- scan('data.Rdata') C <- matrix(z, 112, 112, byrow=TRUE)- add to your problem description all the packages you loaded to make the example work, i.e.:
library('ctc') Hope it helps mario On 04-Apr-11 21:47, Jose Hleap Lozano wrote:
It was... I have it in my sent box is called data.Rdata... I am attaching it again! Thanks
-- Ing. Mario Valle Data Analysis and Visualization Group | http://www.cscs.ch/~mvalle Swiss National Supercomputing Centre (CSCS) | Tel: +41 (91) 610.82.60 v. Cantonale Galleria 2, 6928 Manno, Switzerland | Fax: +41 (91) 610.82.82
<<attachment: tree-tv.png>>
<<attachment: tree-r.png>>
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.