I am beginning to work with the 'ape' package in R, and have run into some
trouble. I generated a UPGMA tree based on DNA sequence distance in Paup*
and read it into R, where it became an object of class "phylo". However, I
need it to be classified as a "dendrogram" for my purposes (to use it to
order the layout of a heatmap). I get an error using as.hclust.phylo because
the tree is not ultrametric. Is there no way to convert a non-ultrametric
tree of class "phylo" into a "dendrogram"?

With thanks for any help that you may be able to offer,

Matt

-- 
Matthew Bakker
Ph.D. Candidate
Department of Plant Pathology
University of Minnesota
495 Borlaug Hall
1991 Upper Buford Circle
Saint Paul, MN  55108 USA

612-624-2253
http://plpa.cfans.umn.edu/Matt_Bakker.html

        [[alternative HTML version deleted]]

______________________________________________
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.

Reply via email to