Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dnadna
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Machine learning for population genetics
private
dnadna
Commits
7a1b28e7
Commit
7a1b28e7
authored
6 years ago
by
jeanrjc
Browse files
Options
Downloads
Plain Diff
Merge branch 'generalize_up2dataloader' into sum_stats
parents
c39c3ac8
0137c958
Branches
sum_stats
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
summary_statistics.py
+1
-0
1 addition, 0 deletions
summary_statistics.py
with
1 addition
and
0 deletions
summary_statistics.py
+
1
−
0
View file @
7a1b28e7
...
...
@@ -438,6 +438,7 @@ def do_sum_stats(scenario_dir, name_id, size_chr=2e6,
all_sfs2
[
"
i_xi_norm
"
]
=
all_sfs2
.
i_xi
/
all_sfs2
.
i_xi
.
mean
()
all_sfs2
[
"
freq_indiv
"
]
=
all_sfs2
.
index
/
n_indiv
all_sfs2
[
"
i_xi_sem_norm
"
]
=
all_sfs
.
groupby
(
"
N_indiv
"
).
i_xi
.
sem
()
/
all_sfs2
.
i_xi
.
mean
()
all_sfs2
[
"
i_xi_std_norm
"
]
=
all_sfs
.
groupby
(
"
N_indiv
"
).
i_xi
.
std
()
/
all_sfs2
.
i_xi
.
mean
()
all_sfs2
[
"
sim_id
"
]
=
sim_id
all_sfs2
[
"
scenario
"
]
=
scenario
all_sfs2
[
"
label
"
]
=
label
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment