I have been using the designTree function in some of my scripts (thanks !) and became recently aware of a regression in this function, as it does not seem to return a correct design matrix anymore.
I tested two versions of the function on the same tree hapmap_tree.txt (attached file in Newick format). Here are the output obtained with two different versions of the package:
Hi @BertrandServin
this should be fixed with commit 5258b36b926dcd7c134a1f9fc9e8c722b641eb33, and it was tricky to figure out what's going on.
Regards,
Klaus
Hi,
I have been using the designTree function in some of my scripts (thanks !) and became recently aware of a regression in this function, as it does not seem to return a correct design matrix anymore.
I tested two versions of the function on the same tree hapmap_tree.txt (attached file in Newick format). Here are the output obtained with two different versions of the package:
First using current version (2.3.1) and ape 5.0:
Notice the last column is only zeroes, this seems to be the problem here.
The sessioninfo:
Now with and older version (1.99):
The last column looks correct.
I tried to look into differences between the two versions but that was too hard for me to identify where the regression comes from.
Thanks for your help
Bertrand