mcDETECT 1.0.5__py3-none-any.whl → 1.0.7__py3-none-any.whl
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.
Potentially problematic release.
This version of mcDETECT might be problematic. Click here for more details.
- mcDETECT/model.py +2 -2
- {mcdetect-1.0.5.dist-info → mcdetect-1.0.7.dist-info}/METADATA +1 -1
- mcdetect-1.0.7.dist-info/RECORD +7 -0
- mcdetect-1.0.5.dist-info/RECORD +0 -7
- {mcdetect-1.0.5.dist-info → mcdetect-1.0.7.dist-info}/LICENSE +0 -0
- {mcdetect-1.0.5.dist-info → mcdetect-1.0.7.dist-info}/WHEEL +0 -0
- {mcdetect-1.0.5.dist-info → mcdetect-1.0.7.dist-info}/top_level.txt +0 -0
mcDETECT/model.py
CHANGED
|
@@ -364,7 +364,7 @@ class mcDETECT:
|
|
|
364
364
|
x_bins, y_bins = self.construct_grid(grid_len = None)
|
|
365
365
|
|
|
366
366
|
# initialize data
|
|
367
|
-
X = np.zeros((len(genes), len(x_bins) * len(y_bins)))
|
|
367
|
+
X = np.zeros((len(genes), (len(x_bins) - 1) * (len(y_bins) - 1)))
|
|
368
368
|
global_x, global_y = [], []
|
|
369
369
|
|
|
370
370
|
# coordinates
|
|
@@ -377,7 +377,7 @@ class mcDETECT:
|
|
|
377
377
|
|
|
378
378
|
# count matrix
|
|
379
379
|
for k_idx, k in enumerate(genes):
|
|
380
|
-
target_gene = transcripts[transcripts['
|
|
380
|
+
target_gene = transcripts[transcripts['target'] == k]
|
|
381
381
|
count_gene, _, _ = np.histogram2d(target_gene['global_x'], target_gene['global_y'], bins = [x_bins, y_bins])
|
|
382
382
|
X[k_idx, :] = count_gene.flatten()
|
|
383
383
|
if k_idx % 50 == 0:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: mcDETECT
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.7
|
|
4
4
|
Summary: mcDETECT: Decoding 3D Spatial Synaptic Transcriptomes with Subcellular-Resolution Spatial Transcriptomics
|
|
5
5
|
Home-page: https://github.com/chen-yang-yuan/mcDETECT
|
|
6
6
|
Author: Chenyang Yuan
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
mcDETECT/__init__.py,sha256=smjxcWMgqIGgbQ47Hx0TRXtiJLHcuXizBk9DTfAZp3s,27
|
|
2
|
+
mcDETECT/model.py,sha256=34shhlCEc8RDb35fsiYqXz3VVzHQNhRcfimvZIf_POw,21190
|
|
3
|
+
mcdetect-1.0.7.dist-info/LICENSE,sha256=uxq-shEWOGTIGVnQLmpElILmfCkuUhFZRAMnZUiKvtg,1070
|
|
4
|
+
mcdetect-1.0.7.dist-info/METADATA,sha256=vegGNyJmoZJWxxIVHgRjB27aEr8xHkPkU6hmuvpwDA8,2819
|
|
5
|
+
mcdetect-1.0.7.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
|
|
6
|
+
mcdetect-1.0.7.dist-info/top_level.txt,sha256=WwzBojt5U-T2hZ8llO6XgpM9OFIBkWQQldQKu19O8EY,9
|
|
7
|
+
mcdetect-1.0.7.dist-info/RECORD,,
|
mcdetect-1.0.5.dist-info/RECORD
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
mcDETECT/__init__.py,sha256=smjxcWMgqIGgbQ47Hx0TRXtiJLHcuXizBk9DTfAZp3s,27
|
|
2
|
-
mcDETECT/model.py,sha256=UViArRsE_aNEcgyrab8hl5UZp02ztgm-zuJtw-RL9X4,21184
|
|
3
|
-
mcdetect-1.0.5.dist-info/LICENSE,sha256=uxq-shEWOGTIGVnQLmpElILmfCkuUhFZRAMnZUiKvtg,1070
|
|
4
|
-
mcdetect-1.0.5.dist-info/METADATA,sha256=IctOMMeNnapFbwo43ueVz2ELVucoAqe5JCrjQqSLtb8,2819
|
|
5
|
-
mcdetect-1.0.5.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
|
|
6
|
-
mcdetect-1.0.5.dist-info/top_level.txt,sha256=WwzBojt5U-T2hZ8llO6XgpM9OFIBkWQQldQKu19O8EY,9
|
|
7
|
-
mcdetect-1.0.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|