SpatialQuery 0.0.1__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.
- spatialquery-0.0.1/LICENSE +21 -0
- spatialquery-0.0.1/MANIFEST.in +3 -0
- spatialquery-0.0.1/PKG-INFO +56 -0
- spatialquery-0.0.1/README.md +24 -0
- spatialquery-0.0.1/SpatialQuery/__init__.py +3 -0
- spatialquery-0.0.1/SpatialQuery/spatial_query.py +1339 -0
- spatialquery-0.0.1/SpatialQuery/spatial_query_multiple_fov.py +1116 -0
- spatialquery-0.0.1/SpatialQuery/utils.py +130 -0
- spatialquery-0.0.1/SpatialQuery.egg-info/PKG-INFO +56 -0
- spatialquery-0.0.1/SpatialQuery.egg-info/SOURCES.txt +13 -0
- spatialquery-0.0.1/SpatialQuery.egg-info/dependency_links.txt +1 -0
- spatialquery-0.0.1/SpatialQuery.egg-info/requires.txt +8 -0
- spatialquery-0.0.1/SpatialQuery.egg-info/top_level.txt +1 -0
- spatialquery-0.0.1/setup.cfg +4 -0
- spatialquery-0.0.1/setup.py +31 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 Shaokun An
|
|
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,56 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: SpatialQuery
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Home-page: https://github.com/ShaokunAn/Spatial-Query
|
|
5
|
+
Author: Shaokun An
|
|
6
|
+
Author-email: shan12@bwh.harvard.edu
|
|
7
|
+
License: MIT
|
|
8
|
+
Classifier: Development Status :: 3 - Alpha
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Requires-Python: >=3.8
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
License-File: LICENSE
|
|
14
|
+
Requires-Dist: setuptools>=68.0.0
|
|
15
|
+
Requires-Dist: anndata>=0.8.0
|
|
16
|
+
Requires-Dist: pandas>=2.0.3
|
|
17
|
+
Requires-Dist: scipy
|
|
18
|
+
Requires-Dist: matplotlib>=3.7.5
|
|
19
|
+
Requires-Dist: mlxtend>=0.23.1
|
|
20
|
+
Requires-Dist: seaborn>=0.13.2
|
|
21
|
+
Requires-Dist: scikit-learn>=1.3.2
|
|
22
|
+
Dynamic: author
|
|
23
|
+
Dynamic: author-email
|
|
24
|
+
Dynamic: classifier
|
|
25
|
+
Dynamic: description
|
|
26
|
+
Dynamic: description-content-type
|
|
27
|
+
Dynamic: home-page
|
|
28
|
+
Dynamic: license
|
|
29
|
+
Dynamic: license-file
|
|
30
|
+
Dynamic: requires-dist
|
|
31
|
+
Dynamic: requires-python
|
|
32
|
+
|
|
33
|
+
SpatialQuery is a package for fast query of Spatial Transcriptomics data.
|
|
34
|
+
|
|
35
|
+
### Analysis of ST data in SpatialQuery
|
|
36
|
+
|
|
37
|
+
With annotated ST data as input, SpatialQuery first builds a k-D tree based on spatial location in each FOV for fast query of neighboring cell compositions. It is composed of methods for single-FOV and multiple-FOVs.
|
|
38
|
+
In single-FOV, it contains methods:
|
|
39
|
+
|
|
40
|
+
- identify frequent patterns across FOV
|
|
41
|
+
- identify frequent patterns around cell type of interest
|
|
42
|
+
- identify statistically significant patterns around cell type of interest
|
|
43
|
+
|
|
44
|
+
For multiple-FOVs data, it contains methods:
|
|
45
|
+
|
|
46
|
+
- identify frequent patterns around cell type of interest in specified datasets
|
|
47
|
+
- identify statistically significant patterns around cell type of interest in specified datasets
|
|
48
|
+
- identify differential patterns across datasets
|
|
49
|
+
|
|
50
|
+
### Installation
|
|
51
|
+
|
|
52
|
+
```
|
|
53
|
+
pip install -i https://test.pypi.org/simple/ SpatialQuery
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
For more details, please refer to `examples/SpatialQuery-example.ipynb`.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
SpatialQuery is a package for fast query of Spatial Transcriptomics data.
|
|
2
|
+
|
|
3
|
+
### Analysis of ST data in SpatialQuery
|
|
4
|
+
|
|
5
|
+
With annotated ST data as input, SpatialQuery first builds a k-D tree based on spatial location in each FOV for fast query of neighboring cell compositions. It is composed of methods for single-FOV and multiple-FOVs.
|
|
6
|
+
In single-FOV, it contains methods:
|
|
7
|
+
|
|
8
|
+
- identify frequent patterns across FOV
|
|
9
|
+
- identify frequent patterns around cell type of interest
|
|
10
|
+
- identify statistically significant patterns around cell type of interest
|
|
11
|
+
|
|
12
|
+
For multiple-FOVs data, it contains methods:
|
|
13
|
+
|
|
14
|
+
- identify frequent patterns around cell type of interest in specified datasets
|
|
15
|
+
- identify statistically significant patterns around cell type of interest in specified datasets
|
|
16
|
+
- identify differential patterns across datasets
|
|
17
|
+
|
|
18
|
+
### Installation
|
|
19
|
+
|
|
20
|
+
```
|
|
21
|
+
pip install -i https://test.pypi.org/simple/ SpatialQuery
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
For more details, please refer to `examples/SpatialQuery-example.ipynb`.
|