easydecon 0.1.0a0__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.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Sinan U. Umu
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,57 @@
1
+ Metadata-Version: 2.1
2
+ Name: easydecon
3
+ Version: 0.1.0a0
4
+ Summary: easydecon
5
+ Home-page: https://github.com/sinanugur/easydecon
6
+ Author: Sinan U. Umu
7
+ Author-email: sinanugur@gmail.com
8
+ Keywords: scRNA single-cell high definition spatial transcriptomics deconvolution
9
+ Classifier: License :: OSI Approved :: MIT License
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
12
+ Description-Content-Type: text/markdown
13
+ License-File: LICENSE
14
+ Requires-Dist: scipy
15
+ Requires-Dist: regex
16
+ Requires-Dist: matplotlib
17
+ Requires-Dist: pandas==2.2.2
18
+ Requires-Dist: numpy
19
+ Requires-Dist: stardist
20
+ Requires-Dist: spatialdata==0.2.2
21
+ Requires-Dist: spatialdata-io==0.1.4
22
+ Requires-Dist: spatialdata-plot==0.2.4
23
+ Requires-Dist: xarray-spatial==0.4.0
24
+ Requires-Dist: ipykernel
25
+ Requires-Dist: squidpy
26
+ Requires-Dist: joblib
27
+ Requires-Dist: napari
28
+ Requires-Dist: napari-spatialdata
29
+ Requires-Dist: napari[pyqt6_experimental]
30
+ Requires-Dist: xlrd==2.0.1
31
+
32
+ # Easydecon
33
+
34
+ A package to analyze celltypes on high definition spatial profiling assays
35
+
36
+ Installation
37
+ ------------
38
+ It is recommended to install the package in a virtual environment or a Conda environment. To create a Conda environment, run the following command:
39
+
40
+ ```bash
41
+ conda create -n easydecon python=3.11
42
+ conda activate easydecon
43
+ ```
44
+
45
+ To install directly from GitHub using pip into the active environment, run the following command:
46
+
47
+ ```bash
48
+ pip install git+https://github.com/sinanugur/easydecon.git
49
+ ```
50
+
51
+
52
+ Usage and Documentation
53
+ -----------------------
54
+ You may find our example notebooks in the `notebooks` folder.
55
+
56
+ - Demo notebook for a single-cell Anndata object (demo)[https://github.com/sinanugur/easydecon/blob/main/notebooks/demo.ipynb]
57
+ - Demo notebook for macrophage markers (demo_macrophage)[https://github.com/sinanugur/easydecon/blob/main/notebooks/demo_macrophage.ipynb]
@@ -0,0 +1,26 @@
1
+ # Easydecon
2
+
3
+ A package to analyze celltypes on high definition spatial profiling assays
4
+
5
+ Installation
6
+ ------------
7
+ It is recommended to install the package in a virtual environment or a Conda environment. To create a Conda environment, run the following command:
8
+
9
+ ```bash
10
+ conda create -n easydecon python=3.11
11
+ conda activate easydecon
12
+ ```
13
+
14
+ To install directly from GitHub using pip into the active environment, run the following command:
15
+
16
+ ```bash
17
+ pip install git+https://github.com/sinanugur/easydecon.git
18
+ ```
19
+
20
+
21
+ Usage and Documentation
22
+ -----------------------
23
+ You may find our example notebooks in the `notebooks` folder.
24
+
25
+ - Demo notebook for a single-cell Anndata object (demo)[https://github.com/sinanugur/easydecon/blob/main/notebooks/demo.ipynb]
26
+ - Demo notebook for macrophage markers (demo_macrophage)[https://github.com/sinanugur/easydecon/blob/main/notebooks/demo_macrophage.ipynb]
File without changes
@@ -0,0 +1,11 @@
1
+ class Config:
2
+ n_jobs = 5 # Default value
3
+ batch_size = 1000 # Default value
4
+
5
+ config = Config()
6
+
7
+ def set_n_jobs(n):
8
+ config.n_jobs = n
9
+
10
+ def set_batch_size(n):
11
+ config.batch_size = n