Hello all! I am trying to do a character state reconstruction using gm.prcomp from geomorph in Rstudio. I can successfully do it with the example data (plethspecies), but I haven't been able to do it with my own data. I get the following error message.
Error in Y[phy$tip.label, ] : subscript out of bounds
I thought maybe this was caused by a different number of taxa in the phylogeny and the data matrix, but I have checked and re-cheked and it is not the case. I am quite new to geomorph and R programming, so any help would be appreciated.
Thanks in advance.
--
Vicente Muñoz Walther
Ph.D.(c)
Laboratorio de Ontogenia y Filogenia
Las Palmeras 3425
Universidad de Chile