geney 1.2.49__py2.py3-none-any.whl → 1.2.51__py2.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 geney might be problematic. Click here for more details.

geney/seqmat_utils.py CHANGED
@@ -197,7 +197,7 @@ class SeqMat:
197
197
  return SeqMat().set_seqmat(temp.subseq_prefix(index)) # Not include the stop codon
198
198
 
199
199
  # If no stop codon is found, return the full sequence
200
- return SeqMat().set_seqmat(temp.seq)
200
+ return temp
201
201
 
202
202
  else:
203
203
  return SeqMat('ATG')
geney/survival_utils.py CHANGED
@@ -97,11 +97,11 @@ class SurvivalAnalysis:
97
97
  p_value = self.log_rank(df[df[feature] == 1], df[df[feature] == 0])
98
98
 
99
99
  if plot:
100
- ax.text(0.82, 0.6, rf'Survival $p{{v}}$: {p_value:.3e}', transform=ax.transAxes, fontsize=10,
101
- horizontalalignment='center')
100
+ ax.text(0.6, 0.6, rf'Survival $p{{v}}$: {p_value:.3e}', transform=ax.transAxes, fontsize=10,
101
+ horizontalalignment='left')
102
102
  if tmb_p_value:
103
- ax.text(0.82, 0.53, rf'TMB $p{{v}}$: {tmb_p_value:.3e}', transform=ax.transAxes, fontsize=10,
104
- horizontalalignment='center')
103
+ ax.text(0.6, 0.53, rf'TMB $p{{v}}$: {tmb_p_value:.3e}', transform=ax.transAxes, fontsize=10,
104
+ horizontalalignment='left')
105
105
  # Grid and spines
106
106
  ax.grid(True, which="major", linestyle="--", linewidth=0.5, color="grey", alpha=0.7)
107
107
  ax.spines['top'].set_visible(False)
@@ -109,7 +109,7 @@ class SurvivalAnalysis:
109
109
  ax.tick_params(axis="both", which="major", labelsize=10)
110
110
  if title:
111
111
  ax.set_title(title, fontsize=12)
112
- legend = ax.legend(fontsize=9, loc='upper right', frameon=True)
112
+ legend = ax.legend(fontsize=9, loc='best', frameon=True)
113
113
  legend.get_frame().set_facecolor('white') # Set the background color to white
114
114
  legend.get_frame().set_edgecolor('black') # Set the edge color to black
115
115
  plt.xlabel('Time (years)')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: geney
3
- Version: 1.2.49
3
+ Version: 1.2.51
4
4
  Summary: A Python package for gene expression modeling.
5
5
  Home-page: https://github.com/nicolaslynn/geney
6
6
  Author: Nicolas Lynn
@@ -9,10 +9,10 @@ geney/mutation_utils.py,sha256=C_kv2MB_L8LlhX3W2ooXjJ3uDoJ8zX1WeDtZKoBZJkI,1547
9
9
  geney/oncosplice.py,sha256=nP8SEXvaZbU-K_pzIOKJ6BNAl3QJgidRiptm7xBzACM,23440
10
10
  geney/pangolin_utils.py,sha256=lLmnjJdJjqwWS85-1jlPLIjD2z14sWjzU87hS-8xxpQ,2873
11
11
  geney/power_utils.py,sha256=MehZFUdkJ2EFUot709yPEDxSkXmH5XevMebX2HD768A,7330
12
- geney/seqmat_utils.py,sha256=YV5DFLbfjXLIswPGvqK1-eEfwn9TUby0b2kewdGAKws,18372
12
+ geney/seqmat_utils.py,sha256=2cRXT_Ox4IdzCM8x3H2HexxFZzjo5WHs0HZiUQv8fBM,18347
13
13
  geney/spliceai_utils.py,sha256=gIGPC8u3J15A7EQrk2Elho5PbF9MmUUNopGGH-eEV8s,1873
14
14
  geney/splicing_utils.py,sha256=lGBNknnAdKhcJ3MqPQ5c9oz_NKcL2lcFAr78StjKa6o,16151
15
- geney/survival_utils.py,sha256=5DkV4HuXdFIfbVshRhdCFa59QD6DWAwLjjt98oBfGZ8,6893
15
+ geney/survival_utils.py,sha256=FKcXGL7FNp9yuVyNaUudVgn-JBuZfrhvS1c1NZE-tZ4,6880
16
16
  geney/tcga_utils.py,sha256=D_BNHm-D_K408dlcJm3hzH2c6QNFjQsKvUcOPiQRk7g,17612
17
17
  geney/tis_utils.py,sha256=vA2ci4gNfwwQZlCjPpO5ehvL2NRVeM7lHI_VyfT-_10,8049
18
18
  geney/utils.py,sha256=EsKvBM-Nz2a3_4ZAhF4Dxd4PwT7_6YYKpxEN4LLgg10,2174
@@ -20,7 +20,7 @@ geney/translation_initiation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NM
20
20
  geney/translation_initiation/tis_utils.py,sha256=AF3siFjuQH-Rs44EV-80zHdbxRMvN4woLFSHroWIETc,4448
21
21
  geney/translation_initiation/resources/kozak_pssm.json,sha256=pcd0Olziutq-6H3mFWDCD9cujQ_AlZO-iiOvBl82hqE,1165
22
22
  geney/translation_initiation/resources/tis_regressor_model.joblib,sha256=IXb4DUDhJ5rBDKcqMk9zE3ECTZZcdj7Jixz3KpoZ7OA,2592025
23
- geney-1.2.49.dist-info/METADATA,sha256=lKeYqaJwqQigXx3rmxyumCqWx7Y2j2H7gq5OsCeUFuM,948
24
- geney-1.2.49.dist-info/WHEEL,sha256=fS9sRbCBHs7VFcwJLnLXN1MZRR0_TVTxvXKzOnaSFs8,110
25
- geney-1.2.49.dist-info/top_level.txt,sha256=O-FuNUMb5fn9dhZ-dYCgF0aZtfi1EslMstnzhc5IIVo,6
26
- geney-1.2.49.dist-info/RECORD,,
23
+ geney-1.2.51.dist-info/METADATA,sha256=E_TbmjJ5ylFzUqgTAEFmL9ARawLGuFH9wzZ0fUMltOQ,948
24
+ geney-1.2.51.dist-info/WHEEL,sha256=fS9sRbCBHs7VFcwJLnLXN1MZRR0_TVTxvXKzOnaSFs8,110
25
+ geney-1.2.51.dist-info/top_level.txt,sha256=O-FuNUMb5fn9dhZ-dYCgF0aZtfi1EslMstnzhc5IIVo,6
26
+ geney-1.2.51.dist-info/RECORD,,
File without changes