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
f75d1071
Commit
f75d1071
authored
Mar 16, 2021
by
hjulienn
Browse files
print debug
parent
253ad7d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
raiss/ld_matrix.py
View file @
f75d1071
...
...
@@ -85,7 +85,7 @@ def load_plink_ld(plink_ld, ref_chr_df):
re_index
=
ref_chr_df
.
loc
[
int_index
].
sort_values
(
by
=
"pos"
).
index
mat_ld
=
mat_ld
.
loc
[
re_index
,
re_index
]
print
(
mat_ld
.
loc
[
1
:
5
,
1
:
5
])
print
(
mat_ld
.
i
loc
[
1
:
5
,
1
:
5
])
return
mat_ld
def
load_sparse_matrix
(
path_sparse_LD
,
ref_chr_df
):
...
...
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