Skip to content

ENH Anndata integration#66

Merged
BorisMuzellec merged 44 commits intomainfrom
anndata
Feb 16, 2023
Merged

ENH Anndata integration#66
BorisMuzellec merged 44 commits intomainfrom
anndata

Conversation

@BorisMuzellec
Copy link
Copy Markdown
Collaborator

@BorisMuzellec BorisMuzellec commented Jan 26, 2023

This PR aims to support the AnnData data structure towards the integration of pydeseq2 to scverse (#15).

More precisely:

  • The DeseqDataSet class now extends the AnnData class. As such, it inherits from all methods and attributes of AnnData, and parameters (such as size_factors and LFCs) are now stored in the relevant AnnData fields (e.g. obsm and varm),
  • DeseqStats was updated accordingly,
  • Pytests were updated,
  • The sphinx documentation was adapted to handle the AnnData class inheritance,
  • The "Getting Started" notebooks from the sphinx-gallery were updated.

Boris MUZELLEC added 30 commits January 16, 2023 17:48
@BorisMuzellec BorisMuzellec marked this pull request as ready for review January 30, 2023 16:15
@BorisMuzellec BorisMuzellec requested a review from maikia January 30, 2023 16:15
@BorisMuzellec BorisMuzellec marked this pull request as draft January 31, 2023 15:59
@BorisMuzellec BorisMuzellec marked this pull request as ready for review February 1, 2023 16:13
Copy link
Copy Markdown

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congrats for the big refactoring work @BorisMuzellec ! The code seems correct to me. I have many cosmetic remarks that we can discuss in the comments. I think we'll be able to merge at the second pass.

@ghost ghost added the enhancement New feature or request label Feb 10, 2023
@BorisMuzellec BorisMuzellec changed the title Anndata integration ENH Anndata integration Feb 13, 2023
@BorisMuzellec BorisMuzellec requested a review from a user February 13, 2023 16:24
Copy link
Copy Markdown

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Let's merge! Thanks for all the changes @BorisMuzellec

@BorisMuzellec BorisMuzellec merged commit f9653d2 into main Feb 16, 2023
@BorisMuzellec BorisMuzellec deleted the anndata branch February 16, 2023 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant