simspace 0.3.1__tar.gz → 0.3.2__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.
- {simspace-0.3.1/simspace.egg-info → simspace-0.3.2}/PKG-INFO +4 -6
- {simspace-0.3.1 → simspace-0.3.2}/README.md +4 -6
- {simspace-0.3.1 → simspace-0.3.2}/pyproject.toml +1 -1
- {simspace-0.3.1 → simspace-0.3.2}/setup.py +1 -1
- {simspace-0.3.1 → simspace-0.3.2}/simspace/optimize.py +1 -1
- {simspace-0.3.1 → simspace-0.3.2/simspace.egg-info}/PKG-INFO +4 -6
- {simspace-0.3.1 → simspace-0.3.2}/LICENSE +0 -0
- {simspace-0.3.1 → simspace-0.3.2}/MANIFEST.in +0 -0
- {simspace-0.3.1 → simspace-0.3.2}/setup.cfg +0 -0
- {simspace-0.3.1 → simspace-0.3.2}/simspace/R/.Rprofile +0 -0
- {simspace-0.3.1 → simspace-0.3.2}/simspace/R/SRTsim.R +0 -0
- {simspace-0.3.1 → simspace-0.3.2}/simspace/R/install_r_deps.R +0 -0
- {simspace-0.3.1 → simspace-0.3.2}/simspace/R/renv/activate.R +0 -0
- {simspace-0.3.1 → simspace-0.3.2}/simspace/R/renv.lock +0 -0
- {simspace-0.3.1 → simspace-0.3.2}/simspace/R/scdesign.R +0 -0
- {simspace-0.3.1 → simspace-0.3.2}/simspace/R/splatter.R +0 -0
- {simspace-0.3.1 → simspace-0.3.2}/simspace/R/splatter_fit.R +0 -0
- {simspace-0.3.1 → simspace-0.3.2}/simspace/__init__.py +0 -0
- {simspace-0.3.1 → simspace-0.3.2}/simspace/core.py +0 -0
- {simspace-0.3.1 → simspace-0.3.2}/simspace/initialize/initialize.py +0 -0
- {simspace-0.3.1 → simspace-0.3.2}/simspace/initialize/neighbors.py +0 -0
- {simspace-0.3.1 → simspace-0.3.2}/simspace/niche.py +0 -0
- {simspace-0.3.1 → simspace-0.3.2}/simspace/omics.py +0 -0
- {simspace-0.3.1 → simspace-0.3.2}/simspace/plot.py +0 -0
- {simspace-0.3.1 → simspace-0.3.2}/simspace/spatial.py +0 -0
- {simspace-0.3.1 → simspace-0.3.2}/simspace/util.py +0 -0
- {simspace-0.3.1 → simspace-0.3.2}/simspace.egg-info/SOURCES.txt +0 -0
- {simspace-0.3.1 → simspace-0.3.2}/simspace.egg-info/dependency_links.txt +0 -0
- {simspace-0.3.1 → simspace-0.3.2}/simspace.egg-info/requires.txt +0 -0
- {simspace-0.3.1 → simspace-0.3.2}/simspace.egg-info/top_level.txt +0 -0
- {simspace-0.3.1 → simspace-0.3.2}/tests/test_core.py +0 -0
- {simspace-0.3.1 → simspace-0.3.2}/tests/test_omics.py +0 -0
- {simspace-0.3.1 → simspace-0.3.2}/tests/test_util.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: simspace
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.2
|
|
4
4
|
Summary: SimSpace: a comprehensive in-silico spatial omics data simulation framework
|
|
5
5
|
Author: Tianxiao Zhao
|
|
6
6
|
License: MIT
|
|
@@ -26,10 +26,12 @@ Dynamic: requires-python
|
|
|
26
26
|
[](https://simspace.readthedocs.io/en/latest/)
|
|
27
27
|
[](https://pypi.org/project/simspace/)
|
|
28
28
|
|
|
29
|
-
**SimSpace** is a Python framework for simulating spatial omics data with realistic cellular distributions and tissue organization. Designed for benchmarking spatial analysis methods, SimSpace enables generation of synthetic datasets that preserve spatial autocorrelation, cell-cell interactions, and spatial proximities using a Markov Random Field (MRF) model.
|
|
29
|
+
**SimSpace** is a Python framework for simulating spatial omics data with realistic cellular distributions and tissue organization. Designed for benchmarking spatial analysis methods, SimSpace enables generation of synthetic datasets that preserve spatial autocorrelation, cell-cell interactions, and spatial proximities using a Markov Random Field (MRF) model.
|
|
30
30
|
|
|
31
31
|

|
|
32
32
|
|
|
33
|
+
For full figure reproduction (all analyses and scripts) for the SimSpace manuscript, see: https://github.com/TianxiaoNYU/simspace-reproducibility
|
|
34
|
+
|
|
33
35
|
## 📦 Installation
|
|
34
36
|
|
|
35
37
|
To install the latest version of SimSpace, we recommend using conda to setup the environment:
|
|
@@ -94,8 +96,6 @@ To get started with SimSpace, we provide detailed tutorials covering both refere
|
|
|
94
96
|
|
|
95
97
|
These resources walk through how to configure and run simulations as well as visualize outputs.
|
|
96
98
|
|
|
97
|
-
To reproduce the figures in the manuscript, one can find the scripts at [`fig_reproduce/figures.ipynb`](./fig_reproduce/figures.ipynb).
|
|
98
|
-
|
|
99
99
|
## 🚀 Quick Start
|
|
100
100
|
|
|
101
101
|
Here’s a basic example to simulate a 2D tissue with 3 spatial niches and 8 cell types:
|
|
@@ -132,5 +132,3 @@ Developed by Tianxiao Zhao at NYU Grossman School of Medicine. Should you have a
|
|
|
132
132
|
## 🔗 References
|
|
133
133
|
If you use SimSpace in your work, please cite the work on BioRxiv:
|
|
134
134
|
[Zhao T, Zhang K, Hollenberg M, Zhou W, Fenyo D. SimSpace: a comprehensive in-silico spatial omics data simulation framework. bioRxiv. 2025:2025.07.18.665587.](https://www.biorxiv.org/content/10.1101/2025.07.18.665587)
|
|
135
|
-
|
|
136
|
-
|
|
@@ -3,10 +3,12 @@
|
|
|
3
3
|
[](https://simspace.readthedocs.io/en/latest/)
|
|
4
4
|
[](https://pypi.org/project/simspace/)
|
|
5
5
|
|
|
6
|
-
**SimSpace** is a Python framework for simulating spatial omics data with realistic cellular distributions and tissue organization. Designed for benchmarking spatial analysis methods, SimSpace enables generation of synthetic datasets that preserve spatial autocorrelation, cell-cell interactions, and spatial proximities using a Markov Random Field (MRF) model.
|
|
6
|
+
**SimSpace** is a Python framework for simulating spatial omics data with realistic cellular distributions and tissue organization. Designed for benchmarking spatial analysis methods, SimSpace enables generation of synthetic datasets that preserve spatial autocorrelation, cell-cell interactions, and spatial proximities using a Markov Random Field (MRF) model.
|
|
7
7
|
|
|
8
8
|

|
|
9
9
|
|
|
10
|
+
For full figure reproduction (all analyses and scripts) for the SimSpace manuscript, see: https://github.com/TianxiaoNYU/simspace-reproducibility
|
|
11
|
+
|
|
10
12
|
## 📦 Installation
|
|
11
13
|
|
|
12
14
|
To install the latest version of SimSpace, we recommend using conda to setup the environment:
|
|
@@ -71,8 +73,6 @@ To get started with SimSpace, we provide detailed tutorials covering both refere
|
|
|
71
73
|
|
|
72
74
|
These resources walk through how to configure and run simulations as well as visualize outputs.
|
|
73
75
|
|
|
74
|
-
To reproduce the figures in the manuscript, one can find the scripts at [`fig_reproduce/figures.ipynb`](./fig_reproduce/figures.ipynb).
|
|
75
|
-
|
|
76
76
|
## 🚀 Quick Start
|
|
77
77
|
|
|
78
78
|
Here’s a basic example to simulate a 2D tissue with 3 spatial niches and 8 cell types:
|
|
@@ -108,6 +108,4 @@ Developed by Tianxiao Zhao at NYU Grossman School of Medicine. Should you have a
|
|
|
108
108
|
|
|
109
109
|
## 🔗 References
|
|
110
110
|
If you use SimSpace in your work, please cite the work on BioRxiv:
|
|
111
|
-
[Zhao T, Zhang K, Hollenberg M, Zhou W, Fenyo D. SimSpace: a comprehensive in-silico spatial omics data simulation framework. bioRxiv. 2025:2025.07.18.665587.](https://www.biorxiv.org/content/10.1101/2025.07.18.665587)
|
|
112
|
-
|
|
113
|
-
|
|
111
|
+
[Zhao T, Zhang K, Hollenberg M, Zhou W, Fenyo D. SimSpace: a comprehensive in-silico spatial omics data simulation framework. bioRxiv. 2025:2025.07.18.665587.](https://www.biorxiv.org/content/10.1101/2025.07.18.665587)
|
|
@@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
|
|
|
5
5
|
|
|
6
6
|
setup(
|
|
7
7
|
name="simspace",
|
|
8
|
-
version="0.3.
|
|
8
|
+
version="0.3.2",
|
|
9
9
|
description="SimSpace: a comprehensive in-silico spatial omics data simulation framework",
|
|
10
10
|
long_description=long_description,
|
|
11
11
|
long_description_content_type="text/markdown",
|
|
@@ -13,7 +13,7 @@ warnings.filterwarnings('ignore')
|
|
|
13
13
|
## Define the Fitness Function, which do the simulation first and then calculate the fitness value
|
|
14
14
|
#### The fitness value is the distance between the simulation result and the experimental data
|
|
15
15
|
def _get_spatial_statistics(simulation, n_state):
|
|
16
|
-
simulation.columns = ['celltype', 'x', 'y', 'celltype_ranked']
|
|
16
|
+
simulation.columns = ['celltype', 'x', 'y', 'niche', 'celltype_ranked']
|
|
17
17
|
tmp = simulation[simulation['celltype'] == -1].index
|
|
18
18
|
simulation = simulation.drop(tmp)
|
|
19
19
|
simulation = simulation.reset_index(drop=True)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: simspace
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.2
|
|
4
4
|
Summary: SimSpace: a comprehensive in-silico spatial omics data simulation framework
|
|
5
5
|
Author: Tianxiao Zhao
|
|
6
6
|
License: MIT
|
|
@@ -26,10 +26,12 @@ Dynamic: requires-python
|
|
|
26
26
|
[](https://simspace.readthedocs.io/en/latest/)
|
|
27
27
|
[](https://pypi.org/project/simspace/)
|
|
28
28
|
|
|
29
|
-
**SimSpace** is a Python framework for simulating spatial omics data with realistic cellular distributions and tissue organization. Designed for benchmarking spatial analysis methods, SimSpace enables generation of synthetic datasets that preserve spatial autocorrelation, cell-cell interactions, and spatial proximities using a Markov Random Field (MRF) model.
|
|
29
|
+
**SimSpace** is a Python framework for simulating spatial omics data with realistic cellular distributions and tissue organization. Designed for benchmarking spatial analysis methods, SimSpace enables generation of synthetic datasets that preserve spatial autocorrelation, cell-cell interactions, and spatial proximities using a Markov Random Field (MRF) model.
|
|
30
30
|
|
|
31
31
|

|
|
32
32
|
|
|
33
|
+
For full figure reproduction (all analyses and scripts) for the SimSpace manuscript, see: https://github.com/TianxiaoNYU/simspace-reproducibility
|
|
34
|
+
|
|
33
35
|
## 📦 Installation
|
|
34
36
|
|
|
35
37
|
To install the latest version of SimSpace, we recommend using conda to setup the environment:
|
|
@@ -94,8 +96,6 @@ To get started with SimSpace, we provide detailed tutorials covering both refere
|
|
|
94
96
|
|
|
95
97
|
These resources walk through how to configure and run simulations as well as visualize outputs.
|
|
96
98
|
|
|
97
|
-
To reproduce the figures in the manuscript, one can find the scripts at [`fig_reproduce/figures.ipynb`](./fig_reproduce/figures.ipynb).
|
|
98
|
-
|
|
99
99
|
## 🚀 Quick Start
|
|
100
100
|
|
|
101
101
|
Here’s a basic example to simulate a 2D tissue with 3 spatial niches and 8 cell types:
|
|
@@ -132,5 +132,3 @@ Developed by Tianxiao Zhao at NYU Grossman School of Medicine. Should you have a
|
|
|
132
132
|
## 🔗 References
|
|
133
133
|
If you use SimSpace in your work, please cite the work on BioRxiv:
|
|
134
134
|
[Zhao T, Zhang K, Hollenberg M, Zhou W, Fenyo D. SimSpace: a comprehensive in-silico spatial omics data simulation framework. bioRxiv. 2025:2025.07.18.665587.](https://www.biorxiv.org/content/10.1101/2025.07.18.665587)
|
|
135
|
-
|
|
136
|
-
|
|
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
|