PyOVERCAST 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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyOVERCAST
3
- Version: 1.0.5
3
+ Version: 1.0.7
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
@@ -349,7 +349,7 @@ def rrho_coor(df1, df2, win):
349
349
 
350
350
  return betas[3], pval_xy, DTCI
351
351
 
352
- def plot_rrho(rrho_df, out_file=None, title="RRLO Matrix", cmap="magma"):
352
+ def plot_rrho(rrho_df, out_file=None, title="RRLO Matrix (Overlaps)", cmap="magma"):
353
353
  """
354
354
  Plot RRHO heatmap.
355
355
  """
@@ -363,8 +363,8 @@ def plot_rrho(rrho_df, out_file=None, title="RRLO Matrix", cmap="magma"):
363
363
  yticklabels=max(1, len(rrho_df.index) // 10),
364
364
  )
365
365
  ax.invert_yaxis() # 添加这一行,让 [0,0] 位于左下角
366
- ax.set_xlabel("Overlap in TF-target set")
367
- ax.set_ylabel("Overlap in DEG list")
366
+ ax.set_xlabel("Window Index in TF-target Set")
367
+ ax.set_ylabel("Window Index in DEG List")
368
368
  ax.set_title(title, fontsize=10)
369
369
  plt.tight_layout()
370
370
 
@@ -799,7 +799,7 @@ def plot_contour_graph(rrho_df, out_file=None):
799
799
  cs = ax.contour(X, Y, Z, levels=levels, cmap='viridis')
800
800
  ax.clabel(cs, inline=True, fontsize=8, fmt='%.2f')
801
801
  cf = ax.contourf(X, Y, Z, levels=levels, cmap='viridis', alpha=0.35)
802
- fig.colorbar(cf, ax=ax, label='z value')
802
+ fig.colorbar(cf, ax=ax, label='Overlaps')
803
803
  ax.set_xlabel('Rank of Gene Set'); ax.set_ylabel('Rank of DEG List')
804
804
  ax.set_title('Contour Graph of RRLO Matrix')
805
805
  # ax.set_aspect('equal')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyOVERCAST
3
- Version: 1.0.5
3
+ Version: 1.0.7
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.5"
7
+ version = "1.0.7"
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