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

MAINT cast counts to int when initialising a DeseqDataSet from anndata #299

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

BorisMuzellec
Copy link
Collaborator

Reference Issue or PRs

Related to #291

What does your PR implement? Be specific.

When we create a DeseqDataSet from a counts and a metadata dataframes, counts are automatically cast to int, but not when we create one from a pre-existing anndata object.

This may apparently cause bugs (cf. #291).

This PR fixes this by casting anndata counts to int by default.

@BorisMuzellec BorisMuzellec requested a review from a user July 2, 2024 09:53
@BorisMuzellec BorisMuzellec merged commit 9925bf8 into main Jul 2, 2024
15 checks passed
@BorisMuzellec BorisMuzellec deleted the anndata_int_cast branch July 2, 2024 09:58
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.

1 participant