Skip to content
Snippets Groups Projects
Commit b13fe091 authored by Hanna  JULIENNE's avatar Hanna JULIENNE
Browse files

Fixed beta_or_Z column name

parent 805f2f78
No related branches found
No related tags found
1 merge request!6Hjulienn 805f2f78 patch 74c6
......@@ -30,7 +30,7 @@ def compute_z_score(mgwas):
mgwas.loc[mgwas["computed_z"].isin([np.inf]), 'computed_z'] = mgwas["z"]
elif 'beta' in mgwas.columns:
elif 'beta_or_Z' in mgwas.columns:
sign_vect = np.sign(mgwas.beta)
mgwas["computed_z"] = mgwas["computed_z"].replace(np.inf, 37.537836095576054)
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment