Dear friends and colleagues

 

I am trying to run physignal in geomorph (R), but I am running into a 
problem I do not understand. Here is the code I am using and the error 
message: 

> physignal(ursid_phyl, Regr_res_av, iter=99)

Error in match.names(clabs, names(xi)) : 

  names do not match previous names

 

However:

> name.check(ursid_phyl,Regr_res_av)

[1] "OK"

 

But:

> match(ursid_phyl,Regr_res_av)

[1] NA NA NA NA

> match(Regr_res_av,ursid_phyl)

 [1] NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA

[24] NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA

 

This suggested to me that physignal might need the columns to carry the 
same names rather than the rows (as my phylogeny is list of 4 and I have 15 
landmarks=45 variables), but when I transposed my data, I get a different 
error message:

> trans_regr_res_av <-t(Regr_res_av)

> physignal(ursid_phyl, trans_regr_res_av, iter=99)

Error in physignal(ursid_phyl, trans_regr_res_av, iter = 99) : 

  Number of taxa in data matrix and tree are not not equal.

 

I do not know what I could try next to calculate physignal. Any help would 
be appreciated. This is the phylogeny that I am using:


(Ame:21.8,(Tor:14.5,((Uam:5.7,(Uth:3.3,(Usp:1.2,(Uma:1.0,Uar:1.0):0.2):2.1):2.4):0.0,(Hma:1.0,Mur:1.0):4.7):8.8):7.3);


Thanks in advance. 

 

Best wishes,

 

Anneke van Heteren

 


-- 
MORPHMET may be accessed via its webpage at http://www.morphometrics.org

To unsubscribe from this group and stop receiving emails from it, send an email 
to morphmet+unsubscr...@morphometrics.org.

Reply via email to