sciv 0.0.85__py3-none-any.whl → 0.0.87__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.
@@ -103,7 +103,7 @@ def filter_data(
103
103
  f"Filtered out cells {cells_count - filter_adata.shape[0]}, "
104
104
  f"Filtered out peaks {peaks_count - filter_adata.shape[1]}"
105
105
  )
106
- ul.log(__name__).info(f"Size of filtered scATAC data: {filter_adata.shape}")
106
+ ul.log(__name__).info(f"Size of filtered scATAC-seq data: {filter_adata.shape}")
107
107
  filter_adata.uns["step"] = 0
108
108
  return filter_adata
109
109
 
@@ -477,6 +477,7 @@ class RandomWalk:
477
477
  1. The weights used in the iteration of random walk.
478
478
  2. Assign different weight matrices to seed cells.
479
479
  """
480
+ ul.log(__name__).info("Obtain transition probability matrix.")
480
481
  data_weight = to_dense(cell_cell_matrix, is_array=True)
481
482
  cell_sum_weight = data_weight.sum(axis=1)[:, np.newaxis]
482
483
  cell_sum_weight[cell_sum_weight == 0] = 1
@@ -629,7 +630,8 @@ class RandomWalk:
629
630
  return
630
631
 
631
632
  # Directly obtain descending index
632
- trait_value_sort_index = np.argpartition(trait_value, -trait_value.size)[::-1]
633
+ trait_value_sort_index = np.argsort(trait_value).astype(int)
634
+ trait_value_sort_index = trait_value_sort_index[::-1]
633
635
 
634
636
  # Calculate the number of cells with>0
635
637
  _gt0_cell_size = (trait_value > 0).sum()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sciv
3
- Version: 0.0.85
3
+ Version: 0.0.87
4
4
  Summary: Unveiling the pivotal cell types involved in variant function regulation at a single-cell resolution
5
5
  Project-URL: github, https://github.com/YuZhengM/sciv
6
6
  Author-email: Zheng-Min Yu <yuzmbio@163.com>
@@ -23,17 +23,17 @@ sciv/preprocessing/__init__.py,sha256=56RgDai5I3sZ4hl3aaV80ogOeUscYsU3nJUWE80jZ-
23
23
  sciv/preprocessing/_anndata_.py,sha256=3d1cHFs1YA9UZkIPE089nZHFi-DjK-c1fRyi2shfSh4,6302
24
24
  sciv/preprocessing/_gencode_.py,sha256=HKhRgK76khGepdv4FaKiOvTys1uJTbvIyrKUta5W0K8,2108
25
25
  sciv/preprocessing/_gsea_.py,sha256=AH_PpUNfMN7WkF0pqAuUhEC6qZwKrtQm6VaaYu6JLfI,3803
26
- sciv/preprocessing/_scanpy_.py,sha256=mmkk4cMCzJCziF49RnOuXBiF4frS6aSiwZdUmfDAg4A,11477
26
+ sciv/preprocessing/_scanpy_.py,sha256=flC10W5YPgJE5Ccxt5hP8qW3Q3cOi8DZ36Z1j9D3oNA,11481
27
27
  sciv/preprocessing/_scvi_.py,sha256=ZIDkQ_4deYmzSMiAbu5C3j_jMMl7hBTFLCBXHCNj3B4,10332
28
28
  sciv/preprocessing/_snapatac_.py,sha256=Dq8CHF7Psl3CQszaEokQYO56Oe2uzyWOy_cGlaOywfc,27798
29
29
  sciv/tool/__init__.py,sha256=WXzHkWt6RgBC3qqD-98nR5wQmt6oC850ox_VpMrapSU,2468
30
30
  sciv/tool/_algorithm_.py,sha256=okGpH2OrBTO59LkyznT4gRi5S45oAcnO10Kxo5Xzy4I,47991
31
31
  sciv/tool/_matrix_.py,sha256=O1EAhA9wxh06P_eOxEBesK7kO7IExKlhH6uJzGh1HBM,24322
32
- sciv/tool/_random_walk_.py,sha256=PyVz11dA0rfbYyGYw3WE9BH9KiTUSRHsNDf1J-wfIn0,47156
32
+ sciv/tool/_random_walk_.py,sha256=yy59fWEo9oDk89tsk0qA6Z3maMgwkYD3A7pGgVO6lOQ,47277
33
33
  sciv/util/__init__.py,sha256=nOxZ8if27X7AUJ6hZwTwxOJwIBJb0obWlHjqCzjg_Gc,1964
34
34
  sciv/util/_constant_.py,sha256=w0wKQd8guLd1ZTW24_5aECrWsIWDiNQmEpLsWlHar1A,3000
35
35
  sciv/util/_core_.py,sha256=ZD2uSnEBHVu0i9TmXWzri_3bXZzYKnIZk818gW3zadE,14751
36
- sciv-0.0.85.dist-info/METADATA,sha256=wJDwU4Oks-klm0j2Lg0TyoV7gqF_Gn0JwKa7_c3iCGA,3465
37
- sciv-0.0.85.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
38
- sciv-0.0.85.dist-info/licenses/LICENSE,sha256=4UvHVf3qCOZjHLs4LkYz8u96XRpXnZrpTKrkUQPs5_A,1075
39
- sciv-0.0.85.dist-info/RECORD,,
36
+ sciv-0.0.87.dist-info/METADATA,sha256=Q39bc1CmexjHnKHOcAktc4MNcKHxFqIJstOPOhSCKnc,3465
37
+ sciv-0.0.87.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
38
+ sciv-0.0.87.dist-info/licenses/LICENSE,sha256=4UvHVf3qCOZjHLs4LkYz8u96XRpXnZrpTKrkUQPs5_A,1075
39
+ sciv-0.0.87.dist-info/RECORD,,
File without changes