Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RAISS
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Statistical-Genetics
RAISS
Merge requests
!7
Update windows.py
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Update windows.py
hot_fix_v3
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Hanna JULIENNE
requested to merge
hot_fix_v3
into
master
3 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
61a05c60
1 commit,
3 years ago
1 file
+
3
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
raiss/windows.py
+
3
−
0
Options
@@ -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
]
Loading