Commit 59e6c0c
[new task] Spatial decomposition (openproblems-bio#309)
* init spatial
* spatial decomposition
* init cleanup
* run precommit
* README update
* updated readme
* api update
* pre-commit
* readme update
* api stylefix
* pre-commit
* metrics update
* linting
* pre-commit
* black
* linting fix
* pre-commit
* cleanup
* cleanup
* linting
* linting
* task name change
* Rctd (#6)
Co-authored-by: almaan <almaan@kth.se>
* add stereoscope - nnls - nusvr - vanillanmf - nmfreg (#4)
Co-authored-by: Hirak Sarkar <hiraksarkar.cs@gmail.com>
* Seurat (#8)
Co-authored-by: almaan <almaan@kth.se>
* adding simulation (#7)
Co-authored-by: giovp <giov.pll@gmail.com>
Co-authored-by: almaan <almaan@kth.se>
* reorder requirements
* Update mse.py
* update R2 description
* review comments, populated __init__.py files for import
* update import statements
* fix label dataset
* Specify image
* fix random
* fix labels
* pre-commit
* add test=False
* add synth data from destVI
* remove logger
* return spatial reference in correct format
* specify cell type label
* add destVI simulation to datasets
* fix random
* fix nusvr
* fix stereoscope
* added destvi
* added destvi
* try fix data generation
* fix from previous delete
* add scvitools version
* Synthetic data generation (#9)
* tangram first
* tangram first
* tangram first
* tangram first
* flake8 + isort _destvi_utils
* tangram update; pancreas add string index
* tangram update; pancreas add string index
* tangram update; pancreas add string index; n_obs = 1000 in synth data
* tangram update; pancreas add string index; n_obs = 1000 in synth data
* new synth
* add tangram-sc to docker
* new synth approach
* new synth approach
* new synth approach
* new synth approach
* new synth approach
* new synth approach
* new synth approach
* new synth approach
* pancreas subset integer; comment pancreas dataset [skip actions]
* pancreas subset integer; comment pancreas dataset [skip actions]
* pancreas subset integer; comment pancreas dataset [skip actions]
* pancreas subset integer; comment pancreas dataset [skip actions]
* pancreas subset integer; comment pancreas dataset [skip actions]
* merge and split sc and st data
* merged anndata in methods
* merged anndata in methods
* fix destvi
* add code reference
* shorten
* Update openproblems/tasks/spatial_decomposition/_utils.py
Co-authored-by: Giovanni Palla <giov.pll@gmail.com>
* Update openproblems/tasks/spatial_decomposition/datasets/_sc_to_sp_utils.py [skip actions]
Co-authored-by: Giovanni Palla <giov.pll@gmail.com>
* Update openproblems/tasks/spatial_decomposition/datasets/_sc_to_sp_utils.py [skip actions]
Co-authored-by: Giovanni Palla <giov.pll@gmail.com>
* Update openproblems/tasks/spatial_decomposition/datasets/_sc_to_sp_utils.py [skip actions]
Co-authored-by: Giovanni Palla <giov.pll@gmail.com>
* comment fix
* comment fix
* fix pancreas dataset
* update readme
* fix destvi genertaion
* fix sparse
* minor fix
* drop csr_matrix; fix double merge of anndata; update seurat v3
* updates
* fix test for sparse arrays
* test=False
* add geos to r-extras
* geos before r install
* add software-properties-common
* add python-software-properties
* add RUN before command
* rm geos from r-base
* fix merging of anndata by pinning higher version
* revert back anndata
* fix obs_names and pin anndata
* try to add swap
* reduce number of spatial spots
* remove swap
* reduce obs
* remove swap
* remove step in CI
* decrease dataset size
* remove sparse
* remove copy
* remove datasets
* remove datasets from init
* address scott comments
* skip all pancreas
* fix import
* remove destiv
* Merge `main` into `synthetic-data-generation` (#10)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: MalteDLuecken <m.d.luecken@gmail.com>
Co-authored-by: Scott Gigante <84813314+scottgigante-immunai@users.noreply.github.com>
Co-authored-by: SingleCellOpenProblems <singlecellopenproblems@protonmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Daniel Strobl <50872326+danielStrobl@users.noreply.github.com>
* change test
* fix from_cache
* pre-commit
* update data generation to remove inf
* change test
* check task
* resolve suggestions from scott
Co-authored-by: almaan <almaan@kth.se>
Co-authored-by: Giovanni Palla <giov.pll@gmail.com>
Co-authored-by: Scott Gigante <84813314+scottgigante-immunai@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: MalteDLuecken <m.d.luecken@gmail.com>
Co-authored-by: SingleCellOpenProblems <singlecellopenproblems@protonmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Daniel Strobl <50872326+danielStrobl@users.noreply.github.com>
* Remove duplicate line
* Fill in baseline decorator
* Check R version of seurat
* pre-commit
* Remove reference to __from_cache__
* Clean up proportions assert
* pre-commit
* set merge='unique' to retain uns
* fixes from scott comments
* Fix code_version for new API
* Set `max_epochs` on `test`
* pre-commit
* Temporarily remove destvi
* Add dataset metadata fields
* Add task summary
* Temporarily remove steroscope
* pre-commit
* Fix typo
* Copy `uns`
* fix uns_merge to include _from_cache
* convert NaNs in categorical dtypes
* convert string dtypes
* bump tangram-sc
* fix string dtypes
* convert strings to categoricals inside pancreas
* change api label to str
* obsm cannot be pd.DataFrame
* revert anndata change
* fix rctd
* fix R2
* fix lots of things
* fix nmfreg and sample method
* address scott comments
* add metadata attribute decorator
* Update r_requirements.txt
* Handle comments in `r_requirements.txt`
* Rename spacexr
* Move API below metrics
* Rename NNLS
* Fix RCTD code URL
* Set n_pcs in RCTD python call
* Revert 2077c35
* Set n_pca in seuratv3.py
* use `n_pcs` in seuratv3.R
* Split string rather than skipping QA
* Shorten line lengths
* shorten line lengths
* Clean up comment
* Delete pbmc3k_raw.h5ad
* Rename R2.py to r2.py
* Fix reference to r2.py
* pre-commit
* Rename sc_to_sp.py to pancreas.py
* Rename _sc_and_sp_utils.py to utils.py
* rename _utils.py to utils.py
* pre-commit
* import all pancreas datasets
* fix typo
* fix namespace clash
* need to pass test arg
* fix method name (0_1 -> 0_5)
* check tower auth explicitly
* filter genes and cells
* filter_genes_cells is in-place
* remaining todos from scott
* add destvi dataset
* delete scvi models and dataset
* fix shell string
* one more syntactic fix
* Add tangram to readme
* Specify cell types in description
* pre-commit
* Better dataset descriptors
* Clean up
* Split don't skip
* handle random_state
* Fix doi URL
* Move import inside
* Shorten line lengths
* Remove commented imports
* Shorten descriptors
* Fix seuratv3 URL
* Remove unused projection_type arg
* Remove unused toarray
* Remove unused toarray
* Update vanillanmf.py
* Remove unused DataFrame handler
* Remove unused categorical handler
* Remove unused pandas import
* update nmfreg
* fix nmfreg
* fix vanilla
* fix nmf
* fix alpha
* rctd
* pre-commit
* add dataset_reference
* shorten line lengths
* document PYTEST_MAX_RETRIES
* Allow 429 too many requests
Co-authored-by: almaan <almaan@kth.se>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Alma Andersson <kangarooblood@gmail.com>
Co-authored-by: Hirak Sarkar <hiraksarkar.cs@gmail.com>
Co-authored-by: Daniel Burkhardt <burkhardt.d.b@gmail.com>
Co-authored-by: Scott Gigante <84813314+scottgigante-immunai@users.noreply.github.com>
Co-authored-by: MalteDLuecken <m.d.luecken@gmail.com>
Co-authored-by: SingleCellOpenProblems <singlecellopenproblems@protonmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Daniel Strobl <50872326+danielStrobl@users.noreply.github.com>
Co-authored-by: Scott Gigante <scott.gigante@immunai.com>1 parent d20f2fd commit 59e6c0c
28 files changed
Lines changed: 842 additions & 4 deletions
File tree
- .github/workflows
- docker
- openproblems-python-extras
- openproblems-r-extras
- openproblems
- data
- tasks
- spatial_decomposition
- datasets
- methods
- metrics
- test
- utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
243 | 265 | | |
244 | 266 | | |
245 | 267 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
384 | | - | |
| 384 | + | |
385 | 385 | | |
386 | 386 | | |
387 | | - | |
| 387 | + | |
388 | 388 | | |
389 | 389 | | |
390 | 390 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
0 commit comments