pertpy 0.11.2__tar.gz → 0.11.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (193) hide show
  1. {pertpy-0.11.2 → pertpy-0.11.3}/.github/release-drafter.yml +2 -2
  2. {pertpy-0.11.2 → pertpy-0.11.3}/PKG-INFO +33 -5
  3. {pertpy-0.11.2 → pertpy-0.11.3}/README.md +32 -4
  4. pertpy-0.11.3/docs/about/background.md +49 -0
  5. pertpy-0.11.3/docs/about/cite.md +20 -0
  6. {pertpy-0.11.2 → pertpy-0.11.3}/docs/changelog.md +8 -0
  7. {pertpy-0.11.2 → pertpy-0.11.3}/docs/conf.py +1 -0
  8. {pertpy-0.11.2 → pertpy-0.11.3}/docs/index.md +26 -4
  9. {pertpy-0.11.2 → pertpy-0.11.3}/docs/installation.md +29 -17
  10. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/__init__.py +1 -1
  11. {pertpy-0.11.2 → pertpy-0.11.3}/pyproject.toml +1 -1
  12. {pertpy-0.11.2 → pertpy-0.11.3}/.editorconfig +0 -0
  13. {pertpy-0.11.2 → pertpy-0.11.3}/.gitattributes +0 -0
  14. {pertpy-0.11.2 → pertpy-0.11.3}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
  15. {pertpy-0.11.2 → pertpy-0.11.3}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  16. {pertpy-0.11.2 → pertpy-0.11.3}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
  17. {pertpy-0.11.2 → pertpy-0.11.3}/.github/labels.yml +0 -0
  18. {pertpy-0.11.2 → pertpy-0.11.3}/.github/pull_request_template.md +0 -0
  19. {pertpy-0.11.2 → pertpy-0.11.3}/.github/workflows/build.yml +0 -0
  20. {pertpy-0.11.2 → pertpy-0.11.3}/.github/workflows/labeler.yml +0 -0
  21. {pertpy-0.11.2 → pertpy-0.11.3}/.github/workflows/release.yml +0 -0
  22. {pertpy-0.11.2 → pertpy-0.11.3}/.github/workflows/release_drafter.yml +0 -0
  23. {pertpy-0.11.2 → pertpy-0.11.3}/.github/workflows/test.yml +0 -0
  24. {pertpy-0.11.2 → pertpy-0.11.3}/.gitignore +0 -0
  25. {pertpy-0.11.2 → pertpy-0.11.3}/.gitmodules +0 -0
  26. {pertpy-0.11.2 → pertpy-0.11.3}/.pre-commit-config.yaml +0 -0
  27. {pertpy-0.11.2 → pertpy-0.11.3}/.readthedocs.yml +0 -0
  28. {pertpy-0.11.2 → pertpy-0.11.3}/LICENSE +0 -0
  29. {pertpy-0.11.2 → pertpy-0.11.3}/biome.jsonc +0 -0
  30. {pertpy-0.11.2 → pertpy-0.11.3}/codecov.yml +0 -0
  31. {pertpy-0.11.2 → pertpy-0.11.3}/docs/Makefile +0 -0
  32. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_ext/edit_on_github.py +0 -0
  33. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_ext/typed_returns.py +0 -0
  34. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/SCVI_LICENSE +0 -0
  35. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/css/overwrite.css +0 -0
  36. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/css/sphinx_gallery.css +0 -0
  37. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/docstring_previews/augur_dp_scatter.png +0 -0
  38. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/docstring_previews/augur_important_features.png +0 -0
  39. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/docstring_previews/augur_lollipop.png +0 -0
  40. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/docstring_previews/augur_scatterplot.png +0 -0
  41. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/docstring_previews/de_fold_change.png +0 -0
  42. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/docstring_previews/de_multicomparison_fc.png +0 -0
  43. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/docstring_previews/de_paired_expression.png +0 -0
  44. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/docstring_previews/de_volcano.png +0 -0
  45. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/docstring_previews/dialogue_pairplot.png +0 -0
  46. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/docstring_previews/dialogue_violin.png +0 -0
  47. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/docstring_previews/enrichment_dotplot.png +0 -0
  48. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/docstring_previews/enrichment_gsea.png +0 -0
  49. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/docstring_previews/milo_da_beeswarm.png +0 -0
  50. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/docstring_previews/milo_nhood.png +0 -0
  51. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/docstring_previews/milo_nhood_graph.png +0 -0
  52. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/docstring_previews/mixscape_barplot.png +0 -0
  53. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/docstring_previews/mixscape_heatmap.png +0 -0
  54. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/docstring_previews/mixscape_lda.png +0 -0
  55. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/docstring_previews/mixscape_perturbscore.png +0 -0
  56. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/docstring_previews/mixscape_violin.png +0 -0
  57. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/docstring_previews/pseudobulk_samples.png +0 -0
  58. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/docstring_previews/sccoda_boxplots.png +0 -0
  59. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/docstring_previews/sccoda_effects_barplot.png +0 -0
  60. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/docstring_previews/sccoda_rel_abundance_dispersion_plot.png +0 -0
  61. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/docstring_previews/sccoda_stacked_barplot.png +0 -0
  62. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/docstring_previews/scgen_reg_mean.png +0 -0
  63. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/docstring_previews/tasccoda_draw_effects.png +0 -0
  64. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/docstring_previews/tasccoda_draw_tree.png +0 -0
  65. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/docstring_previews/tasccoda_effects_umap.png +0 -0
  66. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/icons/code-24px.svg +0 -0
  67. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/icons/computer-24px.svg +0 -0
  68. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/icons/library_books-24px.svg +0 -0
  69. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/icons/play_circle_outline-24px.svg +0 -0
  70. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/pertpy_logo.png +0 -0
  71. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/pertpy_logo.svg +0 -0
  72. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/placeholder.png +0 -0
  73. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/tutorials/augur.png +0 -0
  74. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/tutorials/cinemaot.png +0 -0
  75. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/tutorials/dge.png +0 -0
  76. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/tutorials/dialogue.png +0 -0
  77. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/tutorials/distances.png +0 -0
  78. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/tutorials/distances_tests.png +0 -0
  79. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/tutorials/enrichment.png +0 -0
  80. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/tutorials/guide_rna_assignment.png +0 -0
  81. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/tutorials/mcfarland.png +0 -0
  82. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/tutorials/metadata.png +0 -0
  83. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/tutorials/milo.png +0 -0
  84. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/tutorials/mixscape.png +0 -0
  85. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/tutorials/norman.png +0 -0
  86. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/tutorials/ontology.png +0 -0
  87. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/tutorials/perturbation_space.png +0 -0
  88. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/tutorials/placeholder.png +0 -0
  89. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/tutorials/sccoda.png +0 -0
  90. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/tutorials/sccoda_extended.png +0 -0
  91. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/tutorials/scgen_perturbation_prediction.png +0 -0
  92. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/tutorials/tasccoda.png +0 -0
  93. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_static/tutorials/zhang.png +0 -0
  94. {pertpy-0.11.2 → pertpy-0.11.3}/docs/_templates/autosummary/class.rst +0 -0
  95. {pertpy-0.11.2 → pertpy-0.11.3}/docs/api/datasets_index.md +0 -0
  96. {pertpy-0.11.2 → pertpy-0.11.3}/docs/api/metadata_index.md +0 -0
  97. {pertpy-0.11.2 → pertpy-0.11.3}/docs/api/preprocessing_index.md +0 -0
  98. {pertpy-0.11.2 → pertpy-0.11.3}/docs/api/tools_index.md +0 -0
  99. {pertpy-0.11.2 → pertpy-0.11.3}/docs/api.md +0 -0
  100. {pertpy-0.11.2 → pertpy-0.11.3}/docs/contributing.md +0 -0
  101. {pertpy-0.11.2 → pertpy-0.11.3}/docs/make.bat +0 -0
  102. {pertpy-0.11.2 → pertpy-0.11.3}/docs/references.bib +0 -0
  103. {pertpy-0.11.2 → pertpy-0.11.3}/docs/references.md +0 -0
  104. {pertpy-0.11.2 → pertpy-0.11.3}/docs/tutorials/metadata.md +0 -0
  105. {pertpy-0.11.2 → pertpy-0.11.3}/docs/tutorials/preprocessing.md +0 -0
  106. {pertpy-0.11.2 → pertpy-0.11.3}/docs/tutorials/tools.md +0 -0
  107. {pertpy-0.11.2 → pertpy-0.11.3}/docs/tutorials.md +0 -0
  108. {pertpy-0.11.2 → pertpy-0.11.3}/docs/usecases.md +0 -0
  109. {pertpy-0.11.2 → pertpy-0.11.3}/docs/utils.py +0 -0
  110. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/_doc.py +0 -0
  111. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/_types.py +0 -0
  112. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/data/__init__.py +0 -0
  113. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/data/_dataloader.py +0 -0
  114. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/data/_datasets.py +0 -0
  115. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/metadata/__init__.py +0 -0
  116. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/metadata/_cell_line.py +0 -0
  117. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/metadata/_compound.py +0 -0
  118. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/metadata/_drug.py +0 -0
  119. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/metadata/_look_up.py +0 -0
  120. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/metadata/_metadata.py +0 -0
  121. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/metadata/_moa.py +0 -0
  122. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/plot/__init__.py +0 -0
  123. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/preprocessing/__init__.py +0 -0
  124. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/preprocessing/_guide_rna.py +0 -0
  125. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/preprocessing/_guide_rna_mixture.py +0 -0
  126. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/py.typed +0 -0
  127. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/tools/__init__.py +0 -0
  128. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/tools/_augur.py +0 -0
  129. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/tools/_cinemaot.py +0 -0
  130. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/tools/_coda/__init__.py +0 -0
  131. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/tools/_coda/_base_coda.py +0 -0
  132. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/tools/_coda/_sccoda.py +0 -0
  133. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/tools/_coda/_tasccoda.py +0 -0
  134. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/tools/_dialogue.py +0 -0
  135. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/tools/_differential_gene_expression/__init__.py +0 -0
  136. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/tools/_differential_gene_expression/_base.py +0 -0
  137. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/tools/_differential_gene_expression/_checks.py +0 -0
  138. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/tools/_differential_gene_expression/_dge_comparison.py +0 -0
  139. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/tools/_differential_gene_expression/_edger.py +0 -0
  140. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/tools/_differential_gene_expression/_pydeseq2.py +0 -0
  141. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/tools/_differential_gene_expression/_simple_tests.py +0 -0
  142. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/tools/_differential_gene_expression/_statsmodels.py +0 -0
  143. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/tools/_distances/__init__.py +0 -0
  144. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/tools/_distances/_distance_tests.py +0 -0
  145. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/tools/_distances/_distances.py +0 -0
  146. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/tools/_enrichment.py +0 -0
  147. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/tools/_milo.py +0 -0
  148. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/tools/_mixscape.py +0 -0
  149. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/tools/_perturbation_space/__init__.py +0 -0
  150. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/tools/_perturbation_space/_clustering.py +0 -0
  151. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/tools/_perturbation_space/_comparison.py +0 -0
  152. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/tools/_perturbation_space/_discriminator_classifiers.py +0 -0
  153. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/tools/_perturbation_space/_metrics.py +0 -0
  154. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/tools/_perturbation_space/_perturbation_space.py +0 -0
  155. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/tools/_perturbation_space/_simple.py +0 -0
  156. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/tools/_scgen/__init__.py +0 -0
  157. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/tools/_scgen/_base_components.py +0 -0
  158. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/tools/_scgen/_scgen.py +0 -0
  159. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/tools/_scgen/_scgenvae.py +0 -0
  160. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/tools/_scgen/_utils.py +0 -0
  161. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/tools/decoupler_LICENSE +0 -0
  162. {pertpy-0.11.2 → pertpy-0.11.3}/pertpy/tools/transferlearning_MMD_LICENSE +0 -0
  163. {pertpy-0.11.2 → pertpy-0.11.3}/tests/conftest.py +0 -0
  164. {pertpy-0.11.2 → pertpy-0.11.3}/tests/metadata/test_cell_line.py +0 -0
  165. {pertpy-0.11.2 → pertpy-0.11.3}/tests/metadata/test_compound.py +0 -0
  166. {pertpy-0.11.2 → pertpy-0.11.3}/tests/metadata/test_drug.py +0 -0
  167. {pertpy-0.11.2 → pertpy-0.11.3}/tests/metadata/test_moa.py +0 -0
  168. {pertpy-0.11.2 → pertpy-0.11.3}/tests/preprocessing/test_grna_assignment.py +0 -0
  169. {pertpy-0.11.2 → pertpy-0.11.3}/tests/tools/_coda/test_sccoda.py +0 -0
  170. {pertpy-0.11.2 → pertpy-0.11.3}/tests/tools/_coda/test_tasccoda.py +0 -0
  171. {pertpy-0.11.2 → pertpy-0.11.3}/tests/tools/_differential_gene_expression/__init__.py +0 -0
  172. {pertpy-0.11.2 → pertpy-0.11.3}/tests/tools/_differential_gene_expression/conftest.py +0 -0
  173. {pertpy-0.11.2 → pertpy-0.11.3}/tests/tools/_differential_gene_expression/test_base.py +0 -0
  174. {pertpy-0.11.2 → pertpy-0.11.3}/tests/tools/_differential_gene_expression/test_compare_groups.py +0 -0
  175. {pertpy-0.11.2 → pertpy-0.11.3}/tests/tools/_differential_gene_expression/test_dge.py +0 -0
  176. {pertpy-0.11.2 → pertpy-0.11.3}/tests/tools/_differential_gene_expression/test_edger.py +0 -0
  177. {pertpy-0.11.2 → pertpy-0.11.3}/tests/tools/_differential_gene_expression/test_input_checks.py +0 -0
  178. {pertpy-0.11.2 → pertpy-0.11.3}/tests/tools/_differential_gene_expression/test_pydeseq2.py +0 -0
  179. {pertpy-0.11.2 → pertpy-0.11.3}/tests/tools/_differential_gene_expression/test_simple_tests.py +0 -0
  180. {pertpy-0.11.2 → pertpy-0.11.3}/tests/tools/_differential_gene_expression/test_statsmodels.py +0 -0
  181. {pertpy-0.11.2 → pertpy-0.11.3}/tests/tools/_distances/test_distance_tests.py +0 -0
  182. {pertpy-0.11.2 → pertpy-0.11.3}/tests/tools/_distances/test_distances.py +0 -0
  183. {pertpy-0.11.2 → pertpy-0.11.3}/tests/tools/_perturbation_space/test_comparison.py +0 -0
  184. {pertpy-0.11.2 → pertpy-0.11.3}/tests/tools/_perturbation_space/test_discriminator_classifiers.py +0 -0
  185. {pertpy-0.11.2 → pertpy-0.11.3}/tests/tools/_perturbation_space/test_simple_cluster_space.py +0 -0
  186. {pertpy-0.11.2 → pertpy-0.11.3}/tests/tools/_perturbation_space/test_simple_perturbation_space.py +0 -0
  187. {pertpy-0.11.2 → pertpy-0.11.3}/tests/tools/test_augur.py +0 -0
  188. {pertpy-0.11.2 → pertpy-0.11.3}/tests/tools/test_cinemaot.py +0 -0
  189. {pertpy-0.11.2 → pertpy-0.11.3}/tests/tools/test_dialogue.py +0 -0
  190. {pertpy-0.11.2 → pertpy-0.11.3}/tests/tools/test_enrichment.py +0 -0
  191. {pertpy-0.11.2 → pertpy-0.11.3}/tests/tools/test_milo.py +0 -0
  192. {pertpy-0.11.2 → pertpy-0.11.3}/tests/tools/test_mixscape.py +0 -0
  193. {pertpy-0.11.2 → pertpy-0.11.3}/tests/tools/test_scgen.py +0 -0
@@ -1,5 +1,5 @@
1
- name-template: "0.11.2 🌈"
2
- tag-template: 0.11.2
1
+ name-template: "0.11.3 🌈"
2
+ tag-template: 0.11.3
3
3
  exclude-labels:
4
4
  - "skip-changelog"
5
5
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pertpy
3
- Version: 0.11.2
3
+ Version: 0.11.3
4
4
  Summary: Perturbation Analysis in the scverse ecosystem.
5
5
  Project-URL: Documentation, https://pertpy.readthedocs.io
6
6
  Project-URL: Source, https://github.com/scverse/pertpy
@@ -132,22 +132,50 @@ You can install _pertpy_ in less than a minute via [pip] from [PyPI]:
132
132
  pip install pertpy
133
133
  ```
134
134
 
135
+ ### Differential gene expression
136
+
137
+ If you want to use the differential gene expression interface, please install pertpy by running:
138
+
139
+ ```console
140
+ pip install 'pertpy[de]'
141
+ ```
142
+
143
+ ### tascCODA
144
+
135
145
  if you want to use tascCODA, please install pertpy as follows:
136
146
 
137
147
  ```console
138
148
  pip install 'pertpy[tcoda]'
139
149
  ```
140
150
 
141
- If you want to use the differential gene expression interface, please install pertpy by running:
151
+ ### milo
152
+
153
+ milo further requires edger, statmod, and rpy2 to be installed:
154
+
155
+ ```R
156
+ BiocManager::install("edgeR")
157
+ BiocManager::install("statmod")
158
+ ```
142
159
 
143
160
  ```console
144
- pip install 'pertpy[de]'
161
+ pip install rpy2
145
162
  ```
146
163
 
147
164
  ## Citation
148
165
 
149
- [Lukas Heumos, Yuge Ji, Lilly May, Tessa Green, Xinyue Zhang, Xichen Wu, Johannes Ostner, Stefan Peidli, Antonia Schumacher, Karin Hrovatin, Michaela Mueller, Faye Chong, Gregor Sturm, Alejandro Tejada, Emma Dann, Mingze Dong, Mojtaba Bahrami, Ilan Gold, Sergei Rybakov, Altana Namsaraeva, Amir Ali Moinfar, Zihe Zheng, Eljas Roellin, Isra Mekki, Chris Sander, Mohammad Lotfollahi, Herbert B. Schiller, Fabian J. Theis
150
- bioRxiv 2024.08.04.606516; doi: https://doi.org/10.1101/2024.08.04.606516](https://www.biorxiv.org/content/10.1101/2024.08.04.606516v1)
166
+ ```bibtex
167
+ @article {Heumos2024.08.04.606516,
168
+ author = {Heumos, Lukas and Ji, Yuge and May, Lilly and Green, Tessa and Zhang, Xinyue and Wu, Xichen and Ostner, Johannes and Peidli, Stefan and Schumacher, Antonia and Hrovatin, Karin and Müller, Michaela and Chong, Faye and Sturm, Gregor and Tejada, Alejandro and Dann, Emma and Dong, Mingze and Bahrami, Mojtaba and Gold, Ilan and Rybakov, Sergei and Namsaraeva, Altana and Moinfar, Amir and Zheng, Zihe and Roellin, Eljas and Mekki, Isra and Sander, Chris and Lotfollahi, Mohammad and Schiller, Herbert B. and Theis, Fabian J.},
169
+ title = {Pertpy: an end-to-end framework for perturbation analysis},
170
+ elocation-id = {2024.08.04.606516},
171
+ year = {2024},
172
+ doi = {10.1101/2024.08.04.606516},
173
+ publisher = {Cold Spring Harbor Laboratory},
174
+ URL = {https://www.biorxiv.org/content/early/2024/08/07/2024.08.04.606516},
175
+ eprint = {https://www.biorxiv.org/content/early/2024/08/07/2024.08.04.606516.full.pdf},
176
+ journal = {bioRxiv}
177
+ }
178
+ ```
151
179
 
152
180
  [pip]: https://pip.pypa.io/
153
181
  [pypi]: https://pypi.org/
@@ -29,22 +29,50 @@ You can install _pertpy_ in less than a minute via [pip] from [PyPI]:
29
29
  pip install pertpy
30
30
  ```
31
31
 
32
+ ### Differential gene expression
33
+
34
+ If you want to use the differential gene expression interface, please install pertpy by running:
35
+
36
+ ```console
37
+ pip install 'pertpy[de]'
38
+ ```
39
+
40
+ ### tascCODA
41
+
32
42
  if you want to use tascCODA, please install pertpy as follows:
33
43
 
34
44
  ```console
35
45
  pip install 'pertpy[tcoda]'
36
46
  ```
37
47
 
38
- If you want to use the differential gene expression interface, please install pertpy by running:
48
+ ### milo
49
+
50
+ milo further requires edger, statmod, and rpy2 to be installed:
51
+
52
+ ```R
53
+ BiocManager::install("edgeR")
54
+ BiocManager::install("statmod")
55
+ ```
39
56
 
40
57
  ```console
41
- pip install 'pertpy[de]'
58
+ pip install rpy2
42
59
  ```
43
60
 
44
61
  ## Citation
45
62
 
46
- [Lukas Heumos, Yuge Ji, Lilly May, Tessa Green, Xinyue Zhang, Xichen Wu, Johannes Ostner, Stefan Peidli, Antonia Schumacher, Karin Hrovatin, Michaela Mueller, Faye Chong, Gregor Sturm, Alejandro Tejada, Emma Dann, Mingze Dong, Mojtaba Bahrami, Ilan Gold, Sergei Rybakov, Altana Namsaraeva, Amir Ali Moinfar, Zihe Zheng, Eljas Roellin, Isra Mekki, Chris Sander, Mohammad Lotfollahi, Herbert B. Schiller, Fabian J. Theis
47
- bioRxiv 2024.08.04.606516; doi: https://doi.org/10.1101/2024.08.04.606516](https://www.biorxiv.org/content/10.1101/2024.08.04.606516v1)
63
+ ```bibtex
64
+ @article {Heumos2024.08.04.606516,
65
+ author = {Heumos, Lukas and Ji, Yuge and May, Lilly and Green, Tessa and Zhang, Xinyue and Wu, Xichen and Ostner, Johannes and Peidli, Stefan and Schumacher, Antonia and Hrovatin, Karin and Müller, Michaela and Chong, Faye and Sturm, Gregor and Tejada, Alejandro and Dann, Emma and Dong, Mingze and Bahrami, Mojtaba and Gold, Ilan and Rybakov, Sergei and Namsaraeva, Altana and Moinfar, Amir and Zheng, Zihe and Roellin, Eljas and Mekki, Isra and Sander, Chris and Lotfollahi, Mohammad and Schiller, Herbert B. and Theis, Fabian J.},
66
+ title = {Pertpy: an end-to-end framework for perturbation analysis},
67
+ elocation-id = {2024.08.04.606516},
68
+ year = {2024},
69
+ doi = {10.1101/2024.08.04.606516},
70
+ publisher = {Cold Spring Harbor Laboratory},
71
+ URL = {https://www.biorxiv.org/content/early/2024/08/07/2024.08.04.606516},
72
+ eprint = {https://www.biorxiv.org/content/early/2024/08/07/2024.08.04.606516.full.pdf},
73
+ journal = {bioRxiv}
74
+ }
75
+ ```
48
76
 
49
77
  [pip]: https://pip.pypa.io/
50
78
  [pypi]: https://pypi.org/
@@ -0,0 +1,49 @@
1
+ # About Pertpy
2
+
3
+ Pertpy is an end-to-end framework for the analysis of large-scale single-cell perturbation experiments.
4
+ It provides access to harmonized perturbation datasets and metadata databases along with numerous fast and user-friendly implementations of both established and novel methods such as automatic metadata annotation or perturbation distances to efficiently analyze perturbation data.
5
+ As part of the scverse ecosystem, pertpy interoperates with existing single-cell analysis libraries and is designed to be easily extended.
6
+ If you find pertpy useful for your research, please check out {doc}`cite`.
7
+
8
+ ## Design principles
9
+
10
+ Our framework is based on three key principles: `Modularity`, `Flexibility`, and `Scalability`.
11
+
12
+ ### Modularity
13
+
14
+ Pertpy includes modules for analysis of single and combinatorial perturbations covering diverse types of perturbation data including genetic knockouts, drug screens, and disease states.
15
+ The framework is designed for flexibility, offering more than 100 composable and interoperable analysis functions organized in modules which further ease downstream interpretation and visualization.
16
+ These modules host fundamental building blocks for implementation and methods that share functionality and can be chained into custom pipelines.
17
+
18
+ A typical Pertpy workflow consists of several steps:
19
+
20
+ * Initial **data transformation** such as guide RNA assignment for CRISPR screens
21
+ * **Quality control** to address confounding factors and technical variation
22
+ * **Metadata annotation** against ontologies and enrichment from databases
23
+ * **Perturbation space analysis** to learn biologically interpretable embeddings
24
+ * **Downstream analysis** including differential expression, compositional analysis, and distance calculation
25
+
26
+ This modular approach yields a powerful and flexible framework as many analysis steps can be independently applied or chained together.
27
+
28
+ ### Flexibility
29
+
30
+ Pertpy is purpose-built to organize, analyze, and visualize complex perturbation datasets.
31
+ It is flexible and can be applied to datasets of different assays, data types, sizes, and perturbations, thereby unifying previous data-type- or assay-specific single-problem approaches.
32
+ Designed to integrate external metadata with measured data, it enables unprecedented contextualization of results through swiftly built, experiment-specific pipelines, leading to more robust outcomes.
33
+
34
+ The inputs to a typical analysis with pertpy are unimodal scRNA-seq or multimodal perturbation readouts stored in AnnData or MuData objects.
35
+ While pertpy is primarily designed to explore perturbations such as genetic modifications, drug treatments, exposure to pathogens, and other environmental conditions, its utility extends to various other perturbation settings, including diverse disease states where experimental perturbations have not been applied.
36
+
37
+ ### Scalability
38
+
39
+ Pertpy addresses a wide array of use-cases and different types of growing datasets through its sparse and memory-efficient implementations, which leverage the parallelization and GPU acceleration library Jax, and numba, thereby making them substantially faster than original implementations.
40
+ The framework can be applied to datasets ranging from thousands to millions of cells.
41
+
42
+ For example, when analyzing CRISPR screens, Pertpy's implementation of Mixscape is optimized using PyNNDescent for nearest neighbor search during the calculation of perturbation signatures.
43
+ Other methods such as scCODA and tascCODA are accelerated by replacing the Hamiltonian Monte Carlo algorithm in TensorFlow with the no-U-turn sampler from numpyro.
44
+ CINEMA-OT is optimized with ott-jax to make the implementation portable across hardware, enabling GPU acceleration.
45
+
46
+ ## Why is it called "Pertpy"?
47
+
48
+ Pertpy is named for its core purpose: The analysis of **pert**urbations in **Py**thon.
49
+ The framework unifies perturbation analysis approaches across different data types and experimental designs, providing a comprehensive solution for understanding cellular responses to various stimuli.
@@ -0,0 +1,20 @@
1
+ # Citing pertpy
2
+
3
+ If you find pertpy useful for your research, please consider citing our work as follows:
4
+
5
+ ```bibtex
6
+ @article {Heumos2024.08.04.606516,
7
+ author = {Heumos, Lukas and Ji, Yuge and May, Lilly and Green, Tessa and Zhang, Xinyue and Wu, Xichen and Ostner, Johannes and Peidli, Stefan and Schumacher, Antonia and Hrovatin, Karin and Müller, Michaela and Chong, Faye and Sturm, Gregor and Tejada, Alejandro and Dann, Emma and Dong, Mingze and Bahrami, Mojtaba and Gold, Ilan and Rybakov, Sergei and Namsaraeva, Altana and Moinfar, Amir and Zheng, Zihe and Roellin, Eljas and Mekki, Isra and Sander, Chris and Lotfollahi, Mohammad and Schiller, Herbert B. and Theis, Fabian J.},
8
+ title = {Pertpy: an end-to-end framework for perturbation analysis},
9
+ elocation-id = {2024.08.04.606516},
10
+ year = {2024},
11
+ doi = {10.1101/2024.08.04.606516},
12
+ publisher = {Cold Spring Harbor Laboratory},
13
+ URL = {https://www.biorxiv.org/content/early/2024/08/07/2024.08.04.606516},
14
+ eprint = {https://www.biorxiv.org/content/early/2024/08/07/2024.08.04.606516.full.pdf},
15
+ journal = {bioRxiv}
16
+ }
17
+ ```
18
+
19
+ If you are using any previously published tool, please also cite the original publication.
20
+ All tool specific references can be found here: {doc}`../references`.
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## v0.11.3
9
+
10
+ ## 🚀 Features
11
+
12
+ * add about page (#770) @Zethson
13
+ * Simplify Metadata errors (#765) @Zethson
14
+ * Standardize scCODA plot palette interface (#773) @mschilli87
15
+
8
16
  ## v0.11.2
9
17
 
10
18
  ### 🚀 Features
@@ -128,6 +128,7 @@ nitpick_ignore = [
128
128
  ("py:class", "pertpy.tools._distances._distances.MeanVar"),
129
129
  ("py:class", "The requested data as a NumPy array."),
130
130
  ("py:class", "The full registry saved with the model"),
131
+ ("py:class", "The requested data."),
131
132
  ("py:class", "Model with loaded state dictionaries."),
132
133
  ("py:class", "pertpy.tools.lazy_import.<locals>.Placeholder"),
133
134
  ]
@@ -46,7 +46,7 @@ It provides tools for harmonizing perturbation datasets, automating metadata ann
46
46
  ```
47
47
 
48
48
  ```{toctree}
49
- :caption: 'General:'
49
+ :caption: 'General'
50
50
  :hidden: true
51
51
  :maxdepth: 1
52
52
 
@@ -58,7 +58,7 @@ references
58
58
  ```
59
59
 
60
60
  ```{toctree}
61
- :caption: 'Gallery:'
61
+ :caption: 'Gallery'
62
62
  :hidden: true
63
63
  :maxdepth: 1
64
64
 
@@ -66,10 +66,32 @@ tutorials
66
66
  usecases
67
67
  ```
68
68
 
69
+ ```{toctree}
70
+ :caption: 'About'
71
+ :hidden: true
72
+ :maxdepth: 1
73
+
74
+ about/background
75
+ about/cite
76
+ GitHub <https://github.com/scverse/pertpy>
77
+ Discourse <https://discourse.scverse.org/c/ecosystem/pertpy/46>
78
+ ```
79
+
69
80
  ## Citation
70
81
 
71
- [Lukas Heumos, Yuge Ji, Lilly May, Tessa Green, Xinyue Zhang, Xichen Wu, Johannes Ostner, Stefan Peidli, Antonia Schumacher, Karin Hrovatin, Michaela Mueller, Faye Chong, Gregor Sturm, Alejandro Tejada, Emma Dann, Mingze Dong, Mojtaba Bahrami, Ilan Gold, Sergei Rybakov, Altana Namsaraeva, Amir Ali Moinfar, Zihe Zheng, Eljas Roellin, Isra Mekki, Chris Sander, Mohammad Lotfollahi, Herbert B. Schiller, Fabian J. Theis
72
- bioRxiv 2024.08.04.606516; doi: https://doi.org/10.1101/2024.08.04.606516](https://www.biorxiv.org/content/10.1101/2024.08.04.606516v1)
82
+ ```bibtex
83
+ @article {Heumos2024.08.04.606516,
84
+ author = {Heumos, Lukas and Ji, Yuge and May, Lilly and Green, Tessa and Zhang, Xinyue and Wu, Xichen and Ostner, Johannes and Peidli, Stefan and Schumacher, Antonia and Hrovatin, Karin and Müller, Michaela and Chong, Faye and Sturm, Gregor and Tejada, Alejandro and Dann, Emma and Dong, Mingze and Bahrami, Mojtaba and Gold, Ilan and Rybakov, Sergei and Namsaraeva, Altana and Moinfar, Amir and Zheng, Zihe and Roellin, Eljas and Mekki, Isra and Sander, Chris and Lotfollahi, Mohammad and Schiller, Herbert B. and Theis, Fabian J.},
85
+ title = {Pertpy: an end-to-end framework for perturbation analysis},
86
+ elocation-id = {2024.08.04.606516},
87
+ year = {2024},
88
+ doi = {10.1101/2024.08.04.606516},
89
+ publisher = {Cold Spring Harbor Laboratory},
90
+ URL = {https://www.biorxiv.org/content/early/2024/08/07/2024.08.04.606516},
91
+ eprint = {https://www.biorxiv.org/content/early/2024/08/07/2024.08.04.606516.full.pdf},
92
+ journal = {bioRxiv}
93
+ }
94
+ ```
73
95
 
74
96
  ## NumFOCUS
75
97
 
@@ -16,17 +16,9 @@ This is the preferred method to install pertpy, as it will always install the mo
16
16
 
17
17
  If you don't have [pip] installed, this [Python installation guide] can guide you through the process.
18
18
 
19
- ## Additional dependency groups
19
+ ### Additional dependency groups
20
20
 
21
- ### scCODA and tascCODA
22
-
23
- TascCODA requires an additional set of dependencies (ete4, pyqt6, and toytree) that can be installed by running:
24
-
25
- ```console
26
- pip install pertpy[tcoda]
27
- ```
28
-
29
- ## Differential gene expression interface
21
+ #### Differential gene expression interface
30
22
 
31
23
  The DGE interface of pertpy requires additional dependencies that can be installed by running:
32
24
 
@@ -44,21 +36,25 @@ BiocManager::install("edgeR")
44
36
  pip install rpy2
45
37
  ```
46
38
 
47
- ## From sources
39
+ #### milo
48
40
 
49
- The sources for pertpy can be downloaded from the [Github repo].
50
- Please note that you require [poetry] to be installed.
41
+ milo further requires edger, statmod, and rpy2 to be installed:
51
42
 
52
- You can either clone the public repository:
43
+ ```R
44
+ BiocManager::install("edgeR")
45
+ BiocManager::install("statmod")
46
+ ```
53
47
 
54
48
  ```console
55
- $ git clone git://github.com/scverse/pertpy
49
+ pip install rpy2
56
50
  ```
57
51
 
58
- Or download the [tarball]:
52
+ #### tascCODA
53
+
54
+ TascCODA requires an additional set of dependencies (ete4, pyqt6, and toytree) that can be installed by running:
59
55
 
60
56
  ```console
61
- $ curl -OJL https://github.com/scverse/pertpy/tarball/master
57
+ pip install pertpy[tcoda]
62
58
  ```
63
59
 
64
60
  ## Apple Silicon
@@ -100,6 +96,22 @@ Follow these steps to install pertpy on an Apple Silicon machine (tested on a Ma
100
96
 
101
97
  Now you're ready to use pertpy as usual within the environment (`import pertpy`).
102
98
 
99
+ ## From sources
100
+
101
+ The sources for pertpy can be downloaded from the [Github repo].
102
+
103
+ You can either clone the public repository:
104
+
105
+ ```console
106
+ $ git clone git://github.com/scverse/pertpy
107
+ ```
108
+
109
+ Or download the [tarball]:
110
+
111
+ ```console
112
+ $ curl -OJL https://github.com/scverse/pertpy/tarball/master
113
+ ```
114
+
103
115
  [github repo]: https://github.com/scverse/pertpy
104
116
  [pip]: https://pip.pypa.io
105
117
  [poetry]: https://python-poetry.org/
@@ -2,7 +2,7 @@
2
2
 
3
3
  __author__ = "Lukas Heumos"
4
4
  __email__ = "lukas.heumos@posteo.net"
5
- __version__ = "0.11.2"
5
+ __version__ = "0.11.3"
6
6
 
7
7
  import warnings
8
8
 
@@ -4,7 +4,7 @@ requires = ["hatchling"]
4
4
 
5
5
  [project]
6
6
  name = "pertpy"
7
- version = "0.11.2"
7
+ version = "0.11.3"
8
8
  description = "Perturbation Analysis in the scverse ecosystem."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11,<3.14"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes