[R] Using ACE in the ape package
bolker at ufl.edu
Mon May 11 16:07:59 CEST 2009
Andrew RODRIGUES wrote:
> Having a problem running the ace command in ape.
> After reading my table into R and then putting the names of the rows in
> table in same order as the tree I can't get ace to run and get the message
> Erreur dans as.matrix(x) :
> dims [produit 25] ne correspond pas à la longueur de l'objet 
> This is the command I am using and each of the vectors used in the
> ERreconstruction <- ace(car, tr, type="discrete", model="SYM")
>>car  4 1 7 5 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 2 1
> Phylogenetic tree with 32 tips and 31 internal nodes.
> Tip labels:
> Batis_maritima, Pentadiplandra_brazzeana, Tovaria_pendula, Reseda_lutea,
> Tropaeolum_majus, Carica_sp, ...
> Rooted; no branch lengths.
(1) you haven't actually given us a reproducible example here; try giving us
results of write.tree() on your tree.
(2) you will have better luck with this question, and your related more
on the r-sig-phylo (phylogenetics special interest group) mailing list
this list, where only a few people know about comparative methods, the ape
View this message in context: http://www.nabble.com/Using-ACE-in-the-ape-package-tp23480994p23484016.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help