Commit 1af01fbf authored by Hanna  JULIENNE's avatar Hanna JULIENNE

Update windows.py

parent 281565b2
Pipeline #44878 passed with stages
in 1 minute and 7 seconds
...@@ -32,7 +32,7 @@ def realigned_zfiles_on_panel(ref_panel, zscore): ...@@ -32,7 +32,7 @@ def realigned_zfiles_on_panel(ref_panel, zscore):
- ref_panel (pd.dataframe) : snp of reference on the imputed chromosome - ref_panel (pd.dataframe) : snp of reference on the imputed chromosome
- zscore (pd.dataframe): - zscore (pd.dataframe):
""" """
inter_id = zscore.index.intersection(ref_panel.index) inter_id = zscore.index.intersection(ref_panel.index).unique()
zscore = zscore.loc[inter_id] zscore = zscore.loc[inter_id]
sub_ref_panel = ref_panel.loc[inter_id] sub_ref_panel = ref_panel.loc[inter_id]
print(sub_ref_panel.Ref_all) print(sub_ref_panel.Ref_all)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment