Dear look your data the "tree.phy"
Inside BEGIN TAXA; the name of tax need be exactly equals in as TRANSLATE
see my .phy example bellow the same error are occurring to me (the names of
argument 'x' and the tip labels of the tree did not match: the former were
ignored in the analysis.) I solve it
Hello,
I keep getting the following error when trying to calculate independent
contrasts:
pic.log_repertoire_data - pic(log_repertoire_data, t.100species)
Warning message:
In pic(log_repertoire_data, t.100species) :
the names of argument 'x' and the tip labels of the tree did not match: the
Hi Tom,
have you tried running
name.check(t.100species, log_repertoire_data)
to confirm that the names perfectly match in both? If there is even a slight
mismatch, then pic will ignore all the names in the data and assume that they
are in the same order as the tip labels in the tree. Thus
Graham is absolutely right. If you did this you would find that
Chlorocebus pygerythrus has an underscore separating genus specific
epithet in your tree, but not in your data vector:
require(geiger)
name.check(tree,x)
$Tree.not.data
[1] Chlorocebus_pygerythrus
$Data.not.tree
[1]
Nice! Thanks Graham and Liam,
-Tom
On Feb 20, 2012, at 9:07 PM, Liam J. Revell wrote:
Graham is absolutely right. If you did this you would find that Chlorocebus
pygerythrus has an underscore separating genus specific epithet in your
tree, but not in your data vector:
require(geiger)