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

fixed cast

parent 48a615de
No related branches found
No related tags found
No related merge requests found
Pipeline #7909 passed
...@@ -51,7 +51,7 @@ def compute_sample_size(mgwas, diagnostic_folder, trait, perSS = 0.7): ...@@ -51,7 +51,7 @@ def compute_sample_size(mgwas, diagnostic_folder, trait, perSS = 0.7):
warnings.warn("Some snp had an infinite sample size") warnings.warn("Some snp had an infinite sample size")
myW_thres = np.percentile(myN.dropna(), 90) myW_thres = np.percentile(myN.dropna(), 90)
ss_thres = int(perSS) * myW_thres ss_thres = float(perSS) * myW_thres
mgwas["computed_N"] = myN mgwas["computed_N"] = myN
plt.clf() plt.clf()
p1 = sns.distplot(mgwas.computed_N[~mgwas.computed_N.isna()]) p1 = sns.distplot(mgwas.computed_N[~mgwas.computed_N.isna()])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment