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.
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.