--
You received this message because you are subscribed to the Google Groups "geomorph R package" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geomorph-r-pack...@googlegroups.com.
To post to this group, send email to geomorph-...@googlegroups.com.
Visit this group at https://groups.google.com/group/geomorph-r-package.
To view this discussion on the web, visit https://groups.google.com/d/msgid/geomorph-r-package/ce4a70e1-b4b4-4a83-bd36-cba7fad042fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jasmine,Please use the function, phylo.integration, which does exactly what you hope to do. This function allows two sets of data to be input, along with a phylogeny. Even though it appears to be used for two modules of the same landmark configuration, it will work with two matrices of different data types.CheersMike
Sent from my iPhone
Hello all,--I would like some help figuring out how to phylogenetically correct a two-block partial least squares analysis in Geomeorph. It has been done before by these authors:Klaczko, J., E. Sherratt, and E. Z. F. Setz. 2016. Are diet preferences associated to skulls shape diversification in xenodontine snakes? PLoS ONE 11:1–12.Apparently, they altered the normal PLS procedure by using the "evolutionary covariance matrix" rather than the "overall trait covariance matrix"; it was my understanding that the command two.b.pls produced the overall trait covariance matrix and then performed a singular value decomposition on it. Is there some secret command that allows you to add a phylogeny into the mix?As far as I can tell, it appears they altered the input matrices of the PLS and then ran the PLS as normal. I just don't know how.My current input matrices are made up of (A) proportional diet data, and (B) 3D landmark coordinates; I also have a non-ultrametric tree in .tre format.Help, and/or code from someone who has done this before?Thanks,~JasmineP.S. As an aside, does anyone know why, for a PLS, geomorph reports correlation values rather than covariation values like MorphoJ?
You received this message because you are subscribed to the Google Groups "geomorph R package" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geomorph-r-package+unsub...@googlegroups.com.
Yes, phylo.integration accounts for the phylogeny in both datasets (see geomorph:::phylo.pls for the underlying code).
As for the Kmult, it is a bit unintuitive to go from a particular Kmult value to expectations on whether or not there should be a large effect on downstream analyses. Yes, your K value is less than 1.0, but how much it differs from expectation under random associations of the data and the phylogeny is the question. If the value is highly significant, then there is evidence of phylogenetic signal, which will alter downstream analyses that account for the phylogeny.
Without knowing your particular dataset, all I can say is that there very well be stark differences between PLS analyses with and without taking the phylogeny into account; indeed, that is the very point of phylogenetic comparative analyses!
Hope this helps.
Dean
Dr. Dean C. Adams
Professor
Department of Ecology, Evolution, and Organismal Biology
Department of Statistics
Iowa State University
www.public.iastate.edu/~dcadams/
phone: 515-294-3834
To unsubscribe from this group and stop receiving emails from it, send an email to geomorph-r-pack...@googlegroups.com.
To post to this group, send email to geomorph-...@googlegroups.com.
Visit this group at https://groups.google.com/group/geomorph-r-package.
To view this discussion on the web, visit https://groups.google.com/d/msgid/geomorph-r-package/ce4a70e1-b4b4-4a83-bd36-cba7fad042fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "geomorph R package" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geomorph-r-pack...@googlegroups.com.
To post to this group, send email to
geomorph-...@googlegroups.com.
Visit this group at
https://groups.google.com/group/geomorph-r-package.
To view this discussion on the web, visit https://groups.google.com/d/msgid/geomorph-r-package/d91089aa-5d6c-47dc-81fd-0daf5680e148%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to geomorph-r-pack...@googlegroups.com.
To post to this group, send email to geomorph-...@googlegroups.com.
Visit this group at https://groups.google.com/group/geomorph-r-package.
To view this discussion on the web, visit https://groups.google.com/d/msgid/geomorph-r-package/d91089aa-5d6c-47dc-81fd-0daf5680e148%40googlegroups.com.
The Kappa statistic, both univariate and multivariate, have long been misinterpreted. Under Brownian motion, the expected value of K and Kmult is 1.0. Values larger than this mean there is greater phylogenetic signal than what one might expect under BM, and less than 1.0 there is less phylogenetic signal than expected under BM. However, the significance testing is not versus a value of 1.0, but rather relative to random associations of data and phylogeny. In other words, one shuffles the data on the tips of the phylogeny and compares the observed K (or Kmult) to that distribution. That distribution of permuted values is not guaranteed to be centered on 1.0, as it depends entirely on the data and the phylogeny. Thus, the significance testing (as described originally for the univariate in Blomberg et al. 2003 and also by me for multivariate Kmult) tests whether the observed K (or Kmult) is greater than one expects given the dataset and the phylogeny.
So it is entirely possible that one has significantly greater phylogenetic signal than expected by chance (where chance is defined as the association of data to tips), but still be less than 1.0: the expected value under BM. Of course, one could devise some way of testing the observed K or Kmult against 1.0; much like one could specify a specific value against which a regression coefficient is compared, but to my knowledge no one has devised and tested such a procedure for phylogenetic signal measures (though I’ve had numerous discussions with some individuals on this topic).
As to your second question, the logic of the interpretation is basically identical. With PLS we are describing the association of X and Y. With PPLS, we are describing the association of X and Y while accounting for non-independence due to phylogeny. Where you must be careful however is assuming that positive values on a PLS axis means the underlying variable scores are larger, and negative values means the underlying variable scores are smaller. That is not always the case: either with PLS or PPLS (or PCA or some other types of summary axes for that matter). The reason is that the positive and negative ‘sides’ of summary axes based on eigen-decomposition (or SVD) are completely arbitrary.
The simplest way to think about this is with PCA. Do a PCA of some data. PC1 defines the direction of greatest variation in the dataset. There is no natural positive or negative to this: it is just a direction vector. Further, for different computer algorithms for finding PC1, using the same input data you could find the same exact PC1, but the +/- side could be flipped between algorithms. This is not a failing of the math, but rather just a recognition that the sign is arbitrary. Same thing for PLS axes. So what that means is that one must actually look at the data to determine whether the ‘+’ side of a PCA or PLS vector associates with larger or smaller values of the original variables; one cannot assume it is the case for any dataset.
For the case of PLS and PPLS, the important step you should probably include is this last one: take the time to go back and look at your original variables relative to PLS 1 and PPLS 1. This will tell you how to interpret changes along the axis.
Best,
Dean
Dr. Dean C. Adams
Professor
Department of Ecology, Evolution, and Organismal Biology
Department of Statistics
Iowa State University
www.public.iastate.edu/~dcadams/
phone: 515-294-3834
From: geomorph-...@googlegroups.com [mailto:geomorph-...@googlegroups.com] On Behalf Of Jasmine Croghan
Sent: Monday, January 2, 2017 9:41 AM
To: geomorph R package <geomorph-...@googlegroups.com>
--
You received this message because you are subscribed to the Google Groups "geomorph R package" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
geomorph-r-pack...@googlegroups.com.
To post to this group, send email to
geomorph-...@googlegroups.com.
Visit this group at
https://groups.google.com/group/geomorph-r-package.
To view this discussion on the web, visit https://groups.google.com/d/msgid/geomorph-r-package/28c38815-5f85-43f0-8a9a-8b29bd6b509f%40googlegroups.com.