geney 1.2.49__py2.py3-none-any.whl → 1.2.50__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/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.
|
|
101
|
-
horizontalalignment='
|
|
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.
|
|
104
|
-
horizontalalignment='
|
|
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='
|
|
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)')
|
|
@@ -12,7 +12,7 @@ geney/power_utils.py,sha256=MehZFUdkJ2EFUot709yPEDxSkXmH5XevMebX2HD768A,7330
|
|
|
12
12
|
geney/seqmat_utils.py,sha256=YV5DFLbfjXLIswPGvqK1-eEfwn9TUby0b2kewdGAKws,18372
|
|
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=
|
|
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.
|
|
24
|
-
geney-1.2.
|
|
25
|
-
geney-1.2.
|
|
26
|
-
geney-1.2.
|
|
23
|
+
geney-1.2.50.dist-info/METADATA,sha256=KWTVzDVLAgDT8el56G_ktfraZv3409Os4MJKePC3NsI,948
|
|
24
|
+
geney-1.2.50.dist-info/WHEEL,sha256=fS9sRbCBHs7VFcwJLnLXN1MZRR0_TVTxvXKzOnaSFs8,110
|
|
25
|
+
geney-1.2.50.dist-info/top_level.txt,sha256=O-FuNUMb5fn9dhZ-dYCgF0aZtfi1EslMstnzhc5IIVo,6
|
|
26
|
+
geney-1.2.50.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|