phangorn
phangorn copied to clipboard
NNI parallelization
- Parallelizing
nni
usingmclapply
- Removing tip label inside
nnin
so it doesn't have to be done in the loop innni
Hi Klaus,
I was implementing Scistree maximum likelihood phylogeny, which uses NNI to search for an optimal tree, at each step examines all neighbors of the current tree. I believe the whole tree is needed for likelihood computation. The neighborhood can be quite large for a few thousand units, so I added parallelization to it to save time.
Thanks, Teng
Dear @teng-gao,
I only had a short look, but if it is about the the use of nni
inside your numbat package, I am pretty sure the whole tree is not needed to compute the likelihood.
Regards,
Klaus