Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indices - PD and PE should use only the nodes on the tree #320

Closed
GoogleCodeExporter opened this issue Mar 27, 2015 · 4 comments
Closed

Comments

@GoogleCodeExporter
Copy link

This is a follow-on from issue #319.

Basically, the PD and PE calcs iterate over all the labels in the neighbour 
set, skipping those not in the tree.  It would speed up the calculations if we 
started with a list of those on the tree, as then there would be no need to 
check the validity repeatedly.

The PD_per_taxon index will also be correctly calculated since it will divide 
PD by the nodes actually used, not the full list of species.  

Original issue reported on code.google.com by shawnlaffan on 9 Aug 2012 at 2:55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants