Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
179 commits
Select commit Hold shift + click to select a range
e19e2c8
clean repo
PauBadiaM Apr 20, 2025
b774931
init from template
PauBadiaM Apr 20, 2025
9a35283
Updated README
PauBadiaM Apr 20, 2025
f607f60
Added logging
PauBadiaM Apr 26, 2025
daaa4e5
Created shared datatype
PauBadiaM Apr 26, 2025
e3e6cb1
Added net processing
PauBadiaM Apr 26, 2025
1054b27
Added data processing
PauBadiaM Apr 26, 2025
2b43c71
Added anndata processing
PauBadiaM Apr 26, 2025
567171c
Made processing module
PauBadiaM Apr 26, 2025
e110536
Deleted default files
PauBadiaM Apr 26, 2025
11853c8
Created Method class
PauBadiaM Apr 26, 2025
aa1fadd
Created common _run functionf or methods
PauBadiaM Apr 26, 2025
e41ed2a
Added aucell
PauBadiaM Apr 26, 2025
3183b5e
Added gsea
PauBadiaM Apr 26, 2025
77b8c1e
Added gsva
PauBadiaM Apr 26, 2025
631b348
Added mdt
PauBadiaM Apr 26, 2025
0d47861
Added mlm
PauBadiaM Apr 26, 2025
5e6b913
Added ora
PauBadiaM Apr 26, 2025
a3758f4
Added udt
PauBadiaM Apr 26, 2025
509ce13
Added ulm
PauBadiaM Apr 26, 2025
ca68c1d
Added viper
PauBadiaM Apr 26, 2025
2d7823d
Added waggr
PauBadiaM Apr 26, 2025
378c083
Added zscore
PauBadiaM Apr 26, 2025
448cc6b
Made mt a module
PauBadiaM Apr 26, 2025
92aabbc
Added op download
PauBadiaM Apr 26, 2025
5ab9f55
Added op dtype
PauBadiaM Apr 26, 2025
4818fe7
Added op resource
PauBadiaM Apr 26, 2025
af18c0b
Added op translate
PauBadiaM Apr 26, 2025
6db6db2
Added collectri
PauBadiaM Apr 26, 2025
1a326ea
Added dorothea
PauBadiaM Apr 26, 2025
b5676aa
Addded progeny
PauBadiaM Apr 26, 2025
ce7b063
Made op a module
PauBadiaM Apr 26, 2025
08a7837
Added ds toy
PauBadiaM Apr 26, 2025
0415ccd
Made ds a module
PauBadiaM Apr 26, 2025
3a2fabf
Updated init
PauBadiaM Apr 26, 2025
92823a4
Updated readme
PauBadiaM Apr 26, 2025
b59d15a
Correctly cache waggr functions
PauBadiaM Apr 29, 2025
5129b1d
Improved docs for methods
PauBadiaM Apr 29, 2025
dbdf1a5
Added common docs in _docs
PauBadiaM Apr 29, 2025
e9c1f7f
Moved _download to general as it will also be use for ds
PauBadiaM Apr 29, 2025
4b1952b
Added hsc_tgfb bulk rna dataset
PauBadiaM Apr 29, 2025
7ccbcd3
Added missing imports in pp
PauBadiaM Apr 29, 2025
0e8705d
Made sure sample size is rounded
PauBadiaM Apr 30, 2025
914e614
Fixed progeny bug
PauBadiaM Apr 30, 2025
445d657
Fixed pv bug in _run
PauBadiaM Apr 30, 2025
76c46ef
Added pmbc3k
PauBadiaM Apr 30, 2025
b10f23b
Added barplot
PauBadiaM Apr 30, 2025
3e7051e
Added dotplot
PauBadiaM Apr 30, 2025
ddff5f9
Added pl filter_by_expr
PauBadiaM Apr 30, 2025
6ca78ae
Added pl filter_by_prop
PauBadiaM Apr 30, 2025
5d1b473
Added pl leading edge
PauBadiaM Apr 30, 2025
31eebb1
Added pl network
PauBadiaM Apr 30, 2025
36c3b49
Added pl psbulk samples
PauBadiaM Apr 30, 2025
78add93
Added pl source_targets
PauBadiaM Apr 30, 2025
94a96dc
Added pl volcano
PauBadiaM Apr 30, 2025
c490b27
Added plots to init
PauBadiaM Apr 30, 2025
13e7af9
Added tl rank_sources_groups
PauBadiaM Apr 30, 2025
8237bfa
Added base plotting class
PauBadiaM Apr 30, 2025
a5b750a
Updated gitignore
PauBadiaM Apr 30, 2025
acb9c2e
Updated references
PauBadiaM May 8, 2025
cd0ad71
Updated sphynx config
PauBadiaM May 8, 2025
13740f5
Added ds knocktf
PauBadiaM May 8, 2025
93a1ded
Added ds covid5k
PauBadiaM May 8, 2025
045080e
Added ds toy_bench
PauBadiaM May 8, 2025
5ab980b
Added ds ensmbl to symbols utility
PauBadiaM May 8, 2025
1113dd6
Added ds msvisium
PauBadiaM May 8, 2025
3cc4758
Updated ds module
PauBadiaM May 8, 2025
c251ed2
Added mt decouple
PauBadiaM May 8, 2025
6ef4230
Added mt consensus
PauBadiaM May 8, 2025
c7cf859
Added description and metadata to Methods
PauBadiaM May 8, 2025
cb07a0e
Added mt descriptions to each method
PauBadiaM May 8, 2025
89e2103
Made _download do not fix sep
PauBadiaM May 8, 2025
42f4295
Added psbulk sample filter and knn calculation for spatial
PauBadiaM May 8, 2025
850787b
Added net utils
PauBadiaM May 8, 2025
13cadc6
Added tl rank_obsm
PauBadiaM May 8, 2025
d65042e
Improved dotplot legend
PauBadiaM May 8, 2025
9cf9cf4
Updated docs pl
PauBadiaM May 8, 2025
d1534e7
Added pl filter_samples
PauBadiaM May 8, 2025
ae2fa36
Added pl obsbar
PauBadiaM May 8, 2025
452c268
Added pl rank_obsm
PauBadiaM May 8, 2025
c907e60
Updated pl module
PauBadiaM May 8, 2025
33510d5
Added more args in docs
PauBadiaM May 8, 2025
a368c74
Added metric auc
PauBadiaM May 8, 2025
1444dc8
Added metric fscore
PauBadiaM May 8, 2025
46faf3a
Added metric qrank
PauBadiaM May 8, 2025
d07844d
Added bm metric module
PauBadiaM May 8, 2025
b60c162
Added benchmark pipeline
PauBadiaM May 8, 2025
86c8f39
Added bm pl module
PauBadiaM May 8, 2025
60aac3e
Added bm module
PauBadiaM May 8, 2025
a16edb5
Updated references
PauBadiaM May 15, 2025
7485cff
Added extra dependancies and fixed version
PauBadiaM May 15, 2025
81fc595
Changed log format
PauBadiaM May 15, 2025
05138df
Added assertions to ds toy
PauBadiaM May 15, 2025
ec312a3
Added default filtring knocktf
PauBadiaM May 15, 2025
2ed280c
Deleted template file
PauBadiaM May 15, 2025
e9794df
Made shuffle_net use bools instead of str
PauBadiaM May 15, 2025
cc839fb
Fixed aucell bug
PauBadiaM May 15, 2025
56ec57b
fix gsva kcdf bug
PauBadiaM May 15, 2025
5b80101
Fixed ora p-val bug, now its two tailed
PauBadiaM May 15, 2025
59a2942
Made udt use less estimators as default
PauBadiaM May 15, 2025
fec9cfa
Fixed viper bug with shadow regulons
PauBadiaM May 15, 2025
741bf4c
Made flavour more explicit in zscore
PauBadiaM May 15, 2025
85d3614
Added cons param to decouple
PauBadiaM May 15, 2025
868d8e2
Made mlm not correct by FDR
PauBadiaM May 15, 2025
787be77
Removed reminder notes from mt init
PauBadiaM May 15, 2025
e500576
Changed collectri to use fixed version from zenodo
PauBadiaM May 15, 2025
5db3d03
Renamed progenys pval to padj
PauBadiaM May 15, 2025
edf1c4e
Made _dtype stick to objects rather than pandas string class
PauBadiaM May 15, 2025
858af6f
Made bm pipeline remove previous enrich scores
PauBadiaM May 15, 2025
1df1430
Now auc metric quantile normalizes scores to make them comaprable acr…
PauBadiaM May 15, 2025
b659658
fscore now only returns precision and recall
PauBadiaM May 15, 2025
6a213ca
Fixed qrank bug
PauBadiaM May 15, 2025
078c6cb
Added hmean metric
PauBadiaM May 15, 2025
e55abb4
Accomodated _format to handle missing columns from bm
PauBadiaM May 15, 2025
10d17ff
Fixed typo in rank_obsm pl
PauBadiaM May 15, 2025
f3031d2
Added bar plot for metrics
PauBadiaM May 15, 2025
7a16a56
Added summary plot for metrics
PauBadiaM May 15, 2025
37de07e
Added more args in docs
PauBadiaM May 15, 2025
c05839a
Added tests
PauBadiaM May 15, 2025
768feaa
Added ensembl_to_symbol as an export function from ds
PauBadiaM May 16, 2025
f3bc11d
Changed logic of shuffle for toy_bench
PauBadiaM May 16, 2025
3b08217
Added ds tests
PauBadiaM May 16, 2025
5ee6c39
Added op tests
PauBadiaM May 16, 2025
c88b29f
Added op hallmark
PauBadiaM May 16, 2025
f894c5f
Added references op dbs
PauBadiaM May 16, 2025
4095fff
Added more tests pp net
PauBadiaM May 16, 2025
86b85b0
net_corr now returns pvals
PauBadiaM May 16, 2025
c853f8e
Removed redundant check
PauBadiaM May 16, 2025
fc221f0
Added test for data
PauBadiaM May 16, 2025
b17b68c
Added ds erygast1k
PauBadiaM May 19, 2025
9e938f2
Added erygast ref
PauBadiaM May 19, 2025
5ef6678
Added pstime to ds toy
PauBadiaM May 19, 2025
f06104a
Renamed tl functions and added rankby_order
PauBadiaM May 19, 2025
eb86492
Added pp bin_order
PauBadiaM May 19, 2025
d5a0748
Added names arg in pp bin order
PauBadiaM May 19, 2025
7922b6c
Added pl order
PauBadiaM May 19, 2025
d267f40
Added test op translate
PauBadiaM May 19, 2025
dbc07bb
Added pl order_targets
PauBadiaM May 20, 2025
87952b1
Fixed bug op hallmark when translating
PauBadiaM May 20, 2025
765e0d7
Moved legend order_targets
PauBadiaM May 20, 2025
fe92908
Improved bm verbosity
PauBadiaM May 20, 2025
e84539a
Added verbosity to consensus
PauBadiaM May 20, 2025
ed08bc2
Added consensus verbosity to decouple
PauBadiaM May 20, 2025
89189b1
Increased shuffling bm toy
PauBadiaM May 20, 2025
2f21729
Added test pl barplot
PauBadiaM May 20, 2025
0a96f08
Added test pl dotplot
PauBadiaM May 20, 2025
1a37c87
Added test pl psbulk plots
PauBadiaM May 20, 2025
d4bb876
Added test pl network
PauBadiaM May 20, 2025
43af2a8
Added test pl leading_edge
PauBadiaM May 20, 2025
137df52
Updated references
PauBadiaM May 20, 2025
9164771
Added sample metadata to ds toy
PauBadiaM May 21, 2025
2c340d0
Added test pl obsbar
PauBadiaM May 21, 2025
07a2d17
Added plt.close for test pl
PauBadiaM May 21, 2025
5dc44fa
Made ds toy sample categorical
PauBadiaM May 21, 2025
f9f3f36
Added test tl rankby_obsm
PauBadiaM May 21, 2025
0e1c70a
Added test pl obsm
PauBadiaM May 21, 2025
b439442
Added test pl source_targets
PauBadiaM May 21, 2025
6ae9a16
Changed backend test pl obsm
PauBadiaM May 21, 2025
d94aa53
Added test pl volcano
PauBadiaM May 21, 2025
56f909c
Added test pp get_obsm
PauBadiaM May 21, 2025
68c6461
Allowed rankby_obsm and pl.obsm to use obsm that are df
PauBadiaM May 21, 2025
d766d3c
Added test swap_layer
PauBadiaM May 21, 2025
dc8cc92
Added test pp pseudobulk
PauBadiaM May 21, 2025
bd6c8b7
Added docs to pp pseudobulk
PauBadiaM May 21, 2025
32735da
Added test pp filter_samples
PauBadiaM May 21, 2025
125ce31
Added test pp knn
PauBadiaM May 21, 2025
6fac8c2
Added test tl rankby_group
PauBadiaM May 21, 2025
c2eada0
Added test pp data
PauBadiaM May 21, 2025
5034232
Added top arg to pl dotplot
PauBadiaM May 21, 2025
24ff8e7
Added min number of samples to rankby_obsm
PauBadiaM May 21, 2025
373145d
Added pw description to progent in docs
PauBadiaM May 21, 2025
755ddfd
Made ds hsctgfb obs categorical
PauBadiaM May 21, 2025
0a24a9b
Updated references
PauBadiaM May 21, 2025
354f1db
Made new version
PauBadiaM May 21, 2025
bf77ff3
Added how to run edger filterbyexpr
PauBadiaM May 21, 2025
f20381c
Added docs
PauBadiaM May 21, 2025
df58eb6
Changed how docstrings are displayed for methods
PauBadiaM May 21, 2025
0932fb5
Updated readme
PauBadiaM May 22, 2025
48ecbce
Updated docs
PauBadiaM May 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .bumpversion.cfg

This file was deleted.

17 changes: 17 additions & 0 deletions .codecov.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Based on pydata/xarray
codecov:
require_ci_to_pass: no

coverage:
status:
project:
default:
# Require 1% coverage, i.e., always succeed
target: 1
patch: false
changes: false

comment:
layout: diff, flags, files
behavior: once
require_base: no
21 changes: 0 additions & 21 deletions .codecov.yml

This file was deleted.

43 changes: 43 additions & 0 deletions .cruft.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"template": "https://github.com/scverse/cookiecutter-scverse",
"commit": "5842d5cb8510e1d4a037a8f772630d51ec86de96",
"checkout": null,
"context": {
"cookiecutter": {
"project_name": "decoupler",
"package_name": "decoupler",
"project_description": "Python package to perform enrichment analysis from omics data.",
"author_full_name": "Pau Badia i Mompel",
"author_email": "pau.badia@uni-heidelberg.de",
"github_user": "PauBadiaM",
"github_repo": "decoupler",
"license": "BSD 3-Clause License",
"ide_integration": true,
"_copy_without_render": [
".github/workflows/build.yaml",
".github/workflows/test.yaml",
"docs/_templates/autosummary/**.rst"
],
"_exclude_on_template_update": [
"CHANGELOG.md",
"LICENSE",
"README.md",
"docs/api.md",
"docs/index.md",
"docs/notebooks/example.ipynb",
"docs/references.bib",
"docs/references.md",
"src/**",
"tests/**"
],
"_render_devdocs": false,
"_jinja2_env_vars": {
"lstrip_blocks": true,
"trim_blocks": true
},
"_template": "https://github.com/scverse/cookiecutter-scverse",
"_commit": "5842d5cb8510e1d4a037a8f772630d51ec86de96"
}
},
"directory": null
}
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
root = true

[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[{*.{yml,yaml,toml},.cruft.json}]
indent_size = 2

[Makefile]
indent_style = tab
28 changes: 0 additions & 28 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

94 changes: 94 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
name: Bug report
description: Report something that is broken or incorrect
labels: bug
body:
- type: markdown
attributes:
value: |
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports)
detailing how to provide the necessary information for us to reproduce your bug. In brief:
* Please provide exact steps how to reproduce the bug in a clean Python environment.
* In case it's not clear what's causing this bug, please provide the data or the data generation procedure.
* Sometimes it is not possible to share the data, but usually it is possible to replicate problems on publicly
available datasets or to share a subset of your data.

- type: textarea
id: report
attributes:
label: Report
description: A clear and concise description of what the bug is.
validations:
required: true

- type: textarea
id: versions
attributes:
label: Versions
description: |
Which version of packages.

Please install `session-info2`, run the following command in a notebook,
click the “Copy as Markdown” button, then paste the results into the text box below.

```python
In[1]: import session_info2; session_info2.session_info(dependencies=True)
```

Alternatively, run this in a console:

```python
>>> import session_info2; print(session_info2.session_info(dependencies=True)._repr_mimebundle_()["text/markdown"])
```
render: python
placeholder: |
anndata 0.11.3
---- ----
charset-normalizer 3.4.1
coverage 7.7.0
psutil 7.0.0
dask 2024.7.1
jaraco.context 5.3.0
numcodecs 0.15.1
jaraco.functools 4.0.1
Jinja2 3.1.6
sphinxcontrib-jsmath 1.0.1
sphinxcontrib-htmlhelp 2.1.0
toolz 1.0.0
session-info2 0.1.2
PyYAML 6.0.2
llvmlite 0.44.0
scipy 1.15.2
pandas 2.2.3
sphinxcontrib-devhelp 2.0.0
h5py 3.13.0
tblib 3.0.0
setuptools-scm 8.2.0
more-itertools 10.3.0
msgpack 1.1.0
sparse 0.15.5
wrapt 1.17.2
jaraco.collections 5.1.0
numba 0.61.0
pyarrow 19.0.1
pytz 2025.1
MarkupSafe 3.0.2
crc32c 2.7.1
sphinxcontrib-qthelp 2.0.0
sphinxcontrib-serializinghtml 2.0.0
zarr 2.18.4
asciitree 0.3.3
six 1.17.0
sphinxcontrib-applehelp 2.0.0
numpy 2.1.3
cloudpickle 3.1.1
sphinxcontrib-bibtex 2.6.3
natsort 8.4.0
jaraco.text 3.12.1
setuptools 76.1.0
Deprecated 1.2.18
packaging 24.2
python-dateutil 2.9.0.post0
---- ----
Python 3.13.2 | packaged by conda-forge | (main, Feb 17 2025, 14:10:22) [GCC 13.3.0]
OS Linux-6.11.0-109019-tuxedo-x86_64-with-glibc2.39
Updated 2025-03-18 15:47
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Scverse Community Forum
url: https://discourse.scverse.org/
about: If you have questions about “How to do X”, please ask them here.
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Feature request
description: Propose a new feature for decoupler
labels: enhancement
body:
- type: textarea
id: description
attributes:
label: Description of feature
description: Please describe your suggestion for a new feature. It might help to describe a problem or use case, plus any alternatives that you have considered.
validations:
required: true
10 changes: 0 additions & 10 deletions .github/ISSUE_TEMPLATE/question.md

This file was deleted.

33 changes: 33 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Check Build

on:
push:
branches: [main]
pull_request:
branches: [main]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

defaults:
run:
# to fail on error in multiline statements (-e), in pipes (-o pipefail), and on unset variables (-u).
shell: bash -euo pipefail {0}

jobs:
package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
filter: blob:none
fetch-depth: 0
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
cache-dependency-glob: pyproject.toml
- name: Build package
run: uv build
- name: Check package
run: uvx twine check --strict dist/*.whl
83 changes: 0 additions & 83 deletions .github/workflows/ci.yml

This file was deleted.

Loading
Loading