PyOVERCAST 1.0.2__tar.gz → 1.0.3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyOVERCAST
3
- Version: 1.0.2
3
+ Version: 1.0.3
4
4
  Summary: A Python package for mining key transcription factors from transcriptome data.
5
5
  Author-email: Tinghua Huang <thua45@126.com>
6
6
  License-Expression: MIT
@@ -144,7 +144,7 @@ def compute_dtci_core(df, x_col='x', y_col='y', z_col='z',
144
144
 
145
145
  # 子指标
146
146
  DI = np.abs(beta3) / (np.abs(beta3) + c * z_std)
147
- SI = min(1.0, -np.log10(max(p_values[3], 1e-10)) / 25.0)
147
+ SI = min(1.0, -np.log10(max(p_values[3], 1e-10)) / 10.0)
148
148
  QI = max(0.0, R2_adj)
149
149
 
150
150
  total_weight = alpha + beta_w + gamma
@@ -540,7 +540,7 @@ def thread_one_bs(tfbs_array, deg_list, win, bs_n, shared_list, nn, lock):
540
540
  for i in range(tf_n):
541
541
  # fin_n += 1
542
542
  beta_xy, pval_xy, DTCI, bs_pval = rrho_coor_bs(deg_list, tfbs_array[i][1], win, bs_n)
543
- rank_score = (DTCI * (-1.0 * math.log10(bs_pval + 1E-25) / 25)) ** 0.5
543
+ rank_score = (DTCI * min(1.0, -np.log10(max(bs_pval, 1e-5)) / 5.0)) ** 0.5
544
544
  with lock:
545
545
  shared_list.append([tfbs_array[i][0], beta_xy, pval_xy, DTCI, bs_pval, rank_score])
546
546
  nn[1] += 1
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyOVERCAST
3
- Version: 1.0.2
3
+ Version: 1.0.3
4
4
  Summary: A Python package for mining key transcription factors from transcriptome data.
5
5
  Author-email: Tinghua Huang <thua45@126.com>
6
6
  License-Expression: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "PyOVERCAST"
7
- version = "1.0.2"
7
+ version = "1.0.3"
8
8
  license = "MIT" # SPDX expression
9
9
  description = "A Python package for mining key transcription factors from transcriptome data."
10
10
  readme = "README.md"
File without changes
File without changes
File without changes