Dear R-helpers, I would like to export hierarchical clusters e.g. fit <- hclust(d, method="ward") in the newick format write(hc2Newick(fit),file='hclust.newick') Searching for a possibility I found this solution in the package ctc (http://www.bioconductor.org/packages/bioc/html/ctc.html). However, neither from this site nor via CRAN it is possible to install the package. Is there any other possibility? Is the package included in any other package? Thanks a lot in advance. With kind regards Johannes -- Project Coordinator BIOTA West Amphibians Museum of Natural History Dep. of Research (Herpetology) Invalidenstrasse 43 D-10115 Berlin Tel: +49 (0)30 2093 8708 Fax: +49 (0)30 2093 8565 http://www.biota-africa.org http://community-ecology.biozentrum.uni-wuerzburg.de
The web page recommends installing using biocLite() so that is probably what you should do, but see also help("setRepositories") which seems to allow you to pick up (a version of) the package using the normal install.packages() method if you are somehow adverse to follow the recommended practise. Allan. Penner, Johannes wrote:> [...] > > Searching for a possibility I found this solution in the package ctc > (http://www.bioconductor.org/packages/bioc/html/ctc.html). However, > neither from this site nor via CRAN it is possible to install the > package. > > Is there any other possibility? Is the package included in any other > package? > > [...] >
Dear Allan, Thank you very much! Sometimes the forest is difficult to see when you are looking at the trees only... as we would say... With kind regards Johannes
Hi Johannes -- Penner, Johannes wrote:> Dear R-helpers, > > I would like to export hierarchical clusters > > e.g. fit <- hclust(d, method="ward") in the newick format > > write(hc2Newick(fit),file='hclust.newick') > > Searching for a possibility I found this solution in the package ctc > (http://www.bioconductor.org/packages/bioc/html/ctc.html). However, > neither from this site nor via CRAN it is possible to install the > package.Not sure what you mean -- did you try source("http://bioconductor.org/biocLite.R") biocLite("ctc") as suggested on the page you mention? If this does not work, then please provide a transcript showing the error condition; it also helps to provide the output of the command sessionInfo() Martin> > Is there any other possibility? Is the package included in any other > package? > > Thanks a lot in advance. > > With kind regards > Johannes > > -- > Project Coordinator BIOTA West Amphibians > > Museum of Natural History > Dep. of Research (Herpetology) > Invalidenstrasse 43 > D-10115 Berlin > Tel: +49 (0)30 2093 8708 > Fax: +49 (0)30 2093 8565 > > http://www.biota-africa.org > http://community-ecology.biozentrum.uni-wuerzburg.de > > ______________________________________________ > R-help at 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.