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

Fix genind2genalex() error with SNP data #233

Merged
merged 12 commits into from
Jan 31, 2021
Merged

Fix genind2genalex() error with SNP data #233

merged 12 commits into from
Jan 31, 2021

Conversation

zkamvar
Copy link
Member

@zkamvar zkamvar commented Jan 30, 2021

This PR fixes genind2genalex() by fixing the internal functions that converts one locus per column data to one allele per column data to allow for character type data (previously, it was only allowed for numeric type data to provide for the Bruvo functions).

This will fix #231

@zkamvar
Copy link
Member Author

zkamvar commented Jan 31, 2021

I'm going to merge this because it fixes the issue it intends to fix, but there is a problem with bitwise.ia() on windows overflowing. I'm not sure why.

@zkamvar zkamvar merged commit 0ab416f into main Jan 31, 2021
@zkamvar zkamvar deleted the fix-231 branch January 31, 2021 00:18
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

Successfully merging this pull request may close these issues.

genind2genalex() produces all zero genotypes with some SNP data.
1 participant