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

information unifrac returning negative values when normalize = T #3

Open
chassenr opened this issue Jun 6, 2022 · 0 comments
Open

Comments

@chassenr
Copy link

chassenr commented Jun 6, 2022

Hi @ruthgrace ,

thank you for providing this extended toolbox for unifrac calculation. I went through the example scripts and noticed that unlike stated in the manuscript, the output of the information unifrac is always negative (zero for the diagonal). This behavior seems to be caused by setting normalize to TRUE. If normalize is FALSE, the information unifrac is positive.

Is it ok to just use the absolute values of the normalized information unifrac?

I also found the R package abdiv which claims to have implemented your information unifrac. However, the values obtained with their function differ from those obtained with your scripts.

Thanks!

Cheers,
Christiane

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