You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the entry network has some undefined branch lengths, then phylolm fails with an un-informative message:
# Terminal branche A is not defined
net_str="(A,((B:1,#H1:1::0.1):1,(C:1,(D:1)#H1:1::0.9):1):0.5);"
net =readTopology(net_str);
# phylolm fails
dfr =DataFrame(trait = [11.6,8.1,10.3,9.1], tipNames = ["A","B","C","D"]);
phylolm(@formula(trait ~1), dfr, net);
This issue was raised by Edward A Myers.
If the entry network has some undefined branch lengths, then
phylolm
fails with an un-informative message:This is because the missing branch lengths are silently replaced by a -1, which causes the network matrix to be ill-defined:
Posible Fixes:
NA
instead of -1 (same asape
inR
) ? But that might break some other things elsewhere ?The text was updated successfully, but these errors were encountered: