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

Should UniFrac ever return NaN? #33

Open
ElDeveloper opened this issue Sep 7, 2017 · 0 comments
Open

Should UniFrac ever return NaN? #33

ElDeveloper opened this issue Sep 7, 2017 · 0 comments

Comments

@ElDeveloper
Copy link
Member

There's a few cases where this happens:

  • The counts table is all full of zeros (using weighted normalized, weighted unnormalized and unweighted unifrac).
  • The counts table is empty (using weighted normalized, weighted unnormalized and unweighted unifrac).

These tests were not included, but were present in skbio's test_unweighted_unifrac_zero_counts, test_weighted_unifrac_zero_counts_normalized, and test_weighted_unifrac_zero_counts.

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

No branches or pull requests

1 participant