[R-sig-phylo] phytools GitHub version

2023-01-17 Thread Liam J. Revell
Dear colleagues. Anyone updating phytools from GitHub (https://github.com/liamrevell/phytools) -- for instance, using the remotes or devtools packages -- should be aware that this update will FAIL unless you first update ape from GitHub. To update both ape and phytools to their GitHub

Re: [R-sig-phylo] Extracting interspecific distances as a matrix

2023-01-17 Thread Eliot Miller
I haven't used the dist.dna function before, so apologies if I'm off base, but I see it returns a distance object. You can simply do dMat <- as.matrix(d) And now it's a matrix of the more familiar form. I haven't used the split function before either, but rows (or columns) can just be extracted