if (FALSE) {
# Example: Compare phylogenetic signal of head components in Plethodon
data(plethspecies)
Y.gpa <- gpagen(plethspecies$land) #GPA-alignment
## landmarks of the jaw and cranium
jaw <- 1:5
cranium <- 6:11
PS.jaw <- physignal.z(A = Y.gpa$coords[jaw,,], phy = plethspecies$phy,
lambda = "front", PAC.no = 7, iter=999)
PS.cranium <- physignal.z(A = Y.gpa$coords[cranium,,], phy = plethspecies$phy,
lambda = "front", PAC.no = 7, iter=999)
PS.list <-list(PS.jaw, PS.cranium)
names(PS.list) <- c("jaw", "cranium")
PS.Z <- compare.physignal.z(PS.list)
summary(PS.Z)
}
Run the code above in your browser using DataLab