Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compare exp and softplus transform using synthetic data (cell2location model) #14

Merged
merged 22 commits into from
May 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
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
431 changes: 431 additions & 0 deletions 2021-03-softplus_scales/cell2location_model.py

Large diffs are not rendered by default.

453 changes: 453 additions & 0 deletions 2021-03-softplus_scales/cell2location_model_numpyro.py

Large diffs are not rendered by default.

1,291 changes: 1,291 additions & 0 deletions 2021-03-softplus_scales/cell2location_synthetic_data.ipynb

Large diffs are not rendered by default.

1,304 changes: 1,304 additions & 0 deletions 2021-03-softplus_scales/cell2location_synthetic_data_numpyro.ipynb

Large diffs are not rendered by default.

38 changes: 38 additions & 0 deletions 2021-03-softplus_scales/environment_jax.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: numpyro
channels:
- conda-forge
- bioconda
- defaults
dependencies:
- python = 3.7
- pip
- numpy >= 1.18.5
- pandas >= 1.0.4
- jupyter >= 1.0.0
- ipykernel >= 5.3.4
- leidenalg >= 0.8.0
- python-igraph >= 0.8.2
- nose >= 1.3.7
- scanpy >= 1.5.1
- scipy >= 1.4.1
- louvain >= 0.6.1
- hyperopt >= 0.2.4
- loompy >= 2.0.16
- cmake >= 3.17.0
- dill >= 0.3.1
- ipython >= 7.15.0
- bbknn >= 1.3.9
- seaborn >= 0.10.1
- matplotlib >= 3.2.1
- request >= 2.83.1
- mkl-service >= 2.3.0
- pygpu >= 0.7.6
- cython >= 0.29.17
- pip:
- plotnine==0.7.0
- pymc3>=3.8,<3.10
- torch>=1.5.0
- pyro-ppl>=1.3.1
- git+https://github.com/BayraktarLab/cell2location.git
- git+https://github.com/pyro-ppl/numpyro.git
- jax
1,166 changes: 1,166 additions & 0 deletions 2021-03-softplus_scales/larger_data/cell2location_synthetic_data_5x_data.ipynb

Large diffs are not rendered by default.

Loading