Skip to content

Commit

Permalink
Functional analysis (icbi-lab#6)
Browse files Browse the repository at this point in the history
* Initial commit for functional analysis#

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* add plotting utils

* add utils

* Paths and Data loading

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Added first calls for deseq2-py analysis and progeny

* WIP: cleanup, finalize barplots and heatmap

* WIP: cleanup, added target_plot for significant pathways

* WIP: dorothea analysis

* dorothea analysis: make TF panels with volcano plots

* MSigDB ORA analysis: add MSigDB overrepresentation analysis

* WIP: CytoSig

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* precommit activated

* included notebook in toctree

* added functions to api.md

* fix intersphinx conf

* fix intersphinx conf

* Added CytoSig analysis

* Added MSigDB OAR barplots and volcano plots. Doc

* Save MSigDB and CytoSig result tables as tsv

* Doc

* Add references

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix __init__

* fix api.md

* Restrict number of barplots in notebook. Switch to GSEA for MSigDB

* Remove empty cell

* Fix typo

* Be verbose about supressed output. Display path to results after storing plots.

* Switch to R generated DESeq2 results from differential_despression. Doc.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Numbering

* Clean up

* Update text functional analysis

* Cleanup, use with plt.ioff():, auto determine plot provider for saving plots

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Gregor Sturm <[email protected]>
  • Loading branch information
3 people authored Apr 25, 2023
1 parent 9b13cda commit 20dace7
Show file tree
Hide file tree
Showing 11 changed files with 5,592 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,7 @@ __pycache__/
# IDEs
/.idea/
/.vscode/

# remote kernel files
rik_kernel-*
.ipynb_checkpoints
2 changes: 2 additions & 0 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@
.. autosummary::
:toctree: generated
pl.reshape_clustermap
pl.save_fig_mfmt
pl.significance_heatmap
pl.plot_paired
```
2 changes: 2 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
"anndata": ("https://anndata.readthedocs.io/en/stable/", None),
"numpy": ("https://numpy.org/doc/stable/", None),
"sccoda": ("https://sccoda.readthedocs.io/en/latest/", None),
"seaborn": ("https://seaborn.pydata.org/", None),
"pandas": ("https://pandas.pydata.org/docs/", None),
"scanpy": ("https://scanpy.readthedocs.io/en/stable", None),
}
Expand Down Expand Up @@ -128,6 +129,7 @@
# If building the documentation fails because of a missing link that is outside your control,
# you can add an exception to this list.
# ("py:class", "igraph.Graph"),
("py:class", "seaborn.matrix.ClusterGrid"),
]


Expand Down
1 change: 1 addition & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ notebooks/05_cell_type_annotation.ipynb
notebooks/06_differential_expression.ipynb
notebooks/09_compositional.ipynb
notebooks/10_functional_analysis.ipynb
notebooks/15_cell_cell_communication.ipynb
notebooks/10_bulk_integration.ipynb
Expand Down
1 change: 1 addition & 0 deletions docs/notebooks/06_differential_expression.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"id": "07fb6109-7a52-4379-8655-9d2d2f3a7388",
"metadata": {},
"source": [
"(differential_expression)=\n",
"# Differential gene expression\n",
"\n",
"One of the most commonly asked questions when comparing between conditions is which genes\n",
Expand Down
1 change: 1 addition & 0 deletions docs/notebooks/06_differential_expression.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# ---

# %% [markdown]
# (differential_expression)=
# # Differential gene expression
#
# One of the most commonly asked questions when comparing between conditions is which genes
Expand Down
Loading

0 comments on commit 20dace7

Please sign in to comment.