gwaslab 3.6.4__py3-none-any.whl → 3.6.5__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 gwaslab might be problematic. Click here for more details.
- gwaslab/g_version.py +2 -2
- gwaslab/viz_plot_miamiplot2.py +20 -4
- {gwaslab-3.6.4.dist-info → gwaslab-3.6.5.dist-info}/METADATA +1 -1
- {gwaslab-3.6.4.dist-info → gwaslab-3.6.5.dist-info}/RECORD +8 -8
- {gwaslab-3.6.4.dist-info → gwaslab-3.6.5.dist-info}/WHEEL +0 -0
- {gwaslab-3.6.4.dist-info → gwaslab-3.6.5.dist-info}/licenses/LICENSE +0 -0
- {gwaslab-3.6.4.dist-info → gwaslab-3.6.5.dist-info}/licenses/LICENSE_before_v3.4.39 +0 -0
- {gwaslab-3.6.4.dist-info → gwaslab-3.6.5.dist-info}/top_level.txt +0 -0
gwaslab/g_version.py
CHANGED
gwaslab/viz_plot_miamiplot2.py
CHANGED
|
@@ -102,9 +102,16 @@ def plot_miami2(
|
|
|
102
102
|
cols = ["CHR","POS","P"]
|
|
103
103
|
|
|
104
104
|
if cols1 is None:
|
|
105
|
-
|
|
105
|
+
if scaled1 == True:
|
|
106
|
+
cols1 = ["CHR","POS","MLOG10P"]
|
|
107
|
+
else:
|
|
108
|
+
cols1 = ["CHR","POS","P"]
|
|
109
|
+
|
|
106
110
|
if cols2 is None:
|
|
107
|
-
|
|
111
|
+
if scaled2 == True:
|
|
112
|
+
cols2 = ["CHR","POS","MLOG10P"]
|
|
113
|
+
else:
|
|
114
|
+
cols2 = ["CHR","POS","P"]
|
|
108
115
|
|
|
109
116
|
if id1 is not None:
|
|
110
117
|
cols1.append(id1)
|
|
@@ -206,8 +213,15 @@ def plot_miami2(
|
|
|
206
213
|
sumstats2 = merged_sumstats[cols2].copy()
|
|
207
214
|
|
|
208
215
|
## rename and quick fix ###########################################################################################################
|
|
209
|
-
|
|
210
|
-
|
|
216
|
+
if scaled1==True:
|
|
217
|
+
renaming_dict1 = {cols1[0]:"CHR",cols1[1]:"POS",cols1[2]:"MLOG10P"}
|
|
218
|
+
else:
|
|
219
|
+
renaming_dict1 = {cols1[0]:"CHR",cols1[1]:"POS",cols1[2]:"P"}
|
|
220
|
+
if scaled2==True:
|
|
221
|
+
renaming_dict2 = {cols2[0]:"CHR",cols2[1]:"POS",cols2[2]:"MLOG10P"}
|
|
222
|
+
else:
|
|
223
|
+
renaming_dict2 = {cols2[0]:"CHR",cols2[1]:"POS",cols2[2]:"P"}
|
|
224
|
+
|
|
211
225
|
|
|
212
226
|
sumstats1 = sumstats1.rename(columns=renaming_dict1)
|
|
213
227
|
sumstats1 = _quick_fix(sumstats1,chr_dict=chr_dict1, scaled=scaled1, verbose=verbose, log=log)
|
|
@@ -292,6 +306,7 @@ def plot_miami2(
|
|
|
292
306
|
_chrom_df_for_i = chrom_df,
|
|
293
307
|
_invert=False,
|
|
294
308
|
_if_quick_qc=False,
|
|
309
|
+
font_family=font_family,
|
|
295
310
|
**mqq_args1
|
|
296
311
|
)
|
|
297
312
|
log.write("Finished creating Manhattan plot for sumstats1".format(_get_version()), verbose=verbose)
|
|
@@ -311,6 +326,7 @@ def plot_miami2(
|
|
|
311
326
|
_chrom_df_for_i = chrom_df,
|
|
312
327
|
_invert=True,
|
|
313
328
|
_if_quick_qc=False,
|
|
329
|
+
font_family=font_family,
|
|
314
330
|
**mqq_args2)
|
|
315
331
|
log.write("Finished creating Manhattan plot for sumstats2".format(_get_version()), verbose=verbose)
|
|
316
332
|
|
|
@@ -18,7 +18,7 @@ gwaslab/g_meta.py,sha256=pXtSsQfFPv2UJmOxKMmLtcsp_Ku_H73YP7PnlfMd0sg,6472
|
|
|
18
18
|
gwaslab/g_meta_update.py,sha256=dWgz4kcq9bvsXycCjfhoYtcJHlEP4HRdYoQ8KFqMyTQ,2490
|
|
19
19
|
gwaslab/g_vchange_status.py,sha256=w3zsYYOcCaI3PTeboonvkQjudzUAfVIgATzRdiPViZs,1939
|
|
20
20
|
gwaslab/g_vchange_status_polars.py,sha256=kxyGQCur0ibVFBCyZghA-XNf_kLDXKK-l7VC-Om2IdA,1839
|
|
21
|
-
gwaslab/g_version.py,sha256=
|
|
21
|
+
gwaslab/g_version.py,sha256=L9As6MEHYqrYQ9btjVuz0_cWbUsC8ODJU-zYh4YIZ_I,1964
|
|
22
22
|
gwaslab/hm_casting.py,sha256=xoq1E4Tp5VC4aLWfq9-_AfiQzb1WZAHrnZG33W4sCOE,14178
|
|
23
23
|
gwaslab/hm_casting_polars.py,sha256=CAPfCucj-ARtwP80EuHc9q2gLdj8TL_XQ7_sEC9LxA0,11440
|
|
24
24
|
gwaslab/hm_harmonize_sumstats.py,sha256=2MeWnWmMHpLWjUMTVqExpg_3mE1VIaBsh6Mz3ffJCMc,84761
|
|
@@ -94,7 +94,7 @@ gwaslab/viz_plot_credible_sets.py,sha256=RC5ZsuW8-0w0S1h4c--PZrYwfHfgZ3clM-9JcoM
|
|
|
94
94
|
gwaslab/viz_plot_effect.py,sha256=qbM6c1IB2HlUlMNgFZlJ5G8ODQJ8-oSWD8t0Q8DDuz8,10653
|
|
95
95
|
gwaslab/viz_plot_forestplot.py,sha256=xgOnefh737CgdQxu5naVyRNBX1NQXPFKzf51fbh6afs,6771
|
|
96
96
|
gwaslab/viz_plot_miamiplot.py,sha256=rCFEp7VNuVqeBBG3WRkmFAtFklbF79BvIQQYiSY70VY,31238
|
|
97
|
-
gwaslab/viz_plot_miamiplot2.py,sha256=
|
|
97
|
+
gwaslab/viz_plot_miamiplot2.py,sha256=thukuvia6dGexGcprYVyOt-M5iSCjbpqvMVfRrY6fgk,18015
|
|
98
98
|
gwaslab/viz_plot_mqqplot.py,sha256=W0rKC8I0KrUvv5zakiTcPTEF_ttrUucrwoFS5MHLIyQ,71283
|
|
99
99
|
gwaslab/viz_plot_phe_heatmap.py,sha256=qoXVeFTIm-n8IinNbDdPFVBSz2yGCGK6QzTstXv6aj4,9532
|
|
100
100
|
gwaslab/viz_plot_qqplot.py,sha256=cB4vRlFv69zWY9NMLfSkfAbirYp3_EEW2kQiBTEMDoc,7483
|
|
@@ -112,9 +112,9 @@ gwaslab/data/hapmap3_SNPs/hapmap3_db150_hg19.snplist.gz,sha256=qD9RsC5S2h6l-OdpW
|
|
|
112
112
|
gwaslab/data/hapmap3_SNPs/hapmap3_db151_hg38.snplist.gz,sha256=Y8ZT2FIAhbhlgCJdE9qQVAiwnV_fcsPt72usBa7RSBM,10225828
|
|
113
113
|
gwaslab/data/high_ld/high_ld_hla_hg19.bed.gz,sha256=R7IkssKu0L4WwkU9SrS84xCMdrkkKL0gnTNO_OKbG0Y,219
|
|
114
114
|
gwaslab/data/high_ld/high_ld_hla_hg38.bed.gz,sha256=76CIU0pibDJ72Y6UY-TbIKE9gEPwTELAaIbCXyjm80Q,470
|
|
115
|
-
gwaslab-3.6.
|
|
116
|
-
gwaslab-3.6.
|
|
117
|
-
gwaslab-3.6.
|
|
118
|
-
gwaslab-3.6.
|
|
119
|
-
gwaslab-3.6.
|
|
120
|
-
gwaslab-3.6.
|
|
115
|
+
gwaslab-3.6.5.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
116
|
+
gwaslab-3.6.5.dist-info/licenses/LICENSE_before_v3.4.39,sha256=GhLOU_1UDEKeOacYhsRN_m9u-eIuVTazSndZPeNcTZA,1066
|
|
117
|
+
gwaslab-3.6.5.dist-info/METADATA,sha256=gZzr7kuI49hnQm09FQgzzMIWGw0FI7lCIFfxw34f1dw,7073
|
|
118
|
+
gwaslab-3.6.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
119
|
+
gwaslab-3.6.5.dist-info/top_level.txt,sha256=PyY6hWtrALpv2MAN3kjkIAzJNmmBTH5a2risz9KwH08,8
|
|
120
|
+
gwaslab-3.6.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|