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

fixed cast

parent 48a615de
Branches
Tags
No related merge requests found
......@@ -51,7 +51,7 @@ def compute_sample_size(mgwas, diagnostic_folder, trait, perSS = 0.7):
warnings.warn("Some snp had an infinite sample size")
myW_thres = np.percentile(myN.dropna(), 90)
ss_thres = int(perSS) * myW_thres
ss_thres = float(perSS) * myW_thres
mgwas["computed_N"] = myN
plt.clf()
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.
Please register or to comment