Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Statistical-Genetics
RAISS
Commits
61a05c60
Commit
61a05c60
authored
Aug 17, 2021
by
Hanna JULIENNE
Browse files
Update windows.py
parent
ba31601c
Changes
1
Hide whitespace changes
Inline
Side-by-side
raiss/windows.py
View file @
61a05c60
...
...
@@ -164,7 +164,10 @@ def impg_like_imputation(ld_file, ref_panel, zscore, window_size, buffer, lamb,
unknown_in_LD_reg_n_window
=
in_region
(
all_unknowns
.
pos
,
start_pos
,
end_pos
)
known
=
zscore
.
loc
[
in_LD_reg_n_window
].
index
known
=
known
.
intersection
(
LD_mat
.
index
)
unknowns
=
all_unknowns
.
loc
[
unknown_in_LD_reg_n_window
].
index
unknowns
=
unknowns
.
intersection
(
LD_mat
.
index
)
sig_t
=
LD_mat
.
loc
[
known
,
known
]
sig_i_t
=
LD_mat
.
loc
[
unknowns
,
known
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment