mcDETECT 1.0.5__tar.gz → 1.0.7__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.

Potentially problematic release.


This version of mcDETECT might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: mcDETECT
3
- Version: 1.0.5
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
@@ -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['feature_name'] == k]
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.5
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
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name = "mcDETECT",
5
- version = "1.0.5",
5
+ version = "1.0.7",
6
6
  packages = find_packages(),
7
7
  install_requires = ["anndata", "miniball", "numpy", "pandas", "rtree", "scanpy", "scikit-learn", "scipy", "shapely"],
8
8
  author = "Chenyang Yuan",
File without changes
File without changes
File without changes
File without changes
File without changes