Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
aevol-eukaryotes
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
LUISELLI Juliette
aevol-eukaryotes
Commits
69ebb8f3
Commit
69ebb8f3
authored
1 year ago
by
LUISELLI Juliette
Browse files
Options
Downloads
Patches
Plain Diff
add nb_genes_activ function to Individual_7
parent
45414c58
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/libaevol/7/Individual_7.cpp
+9
-0
9 additions, 0 deletions
src/libaevol/7/Individual_7.cpp
src/libaevol/7/Individual_7.h
+1
-0
1 addition, 0 deletions
src/libaevol/7/Individual_7.h
with
10 additions
and
0 deletions
src/libaevol/7/Individual_7.cpp
+
9
−
0
View file @
69ebb8f3
...
@@ -2132,6 +2132,15 @@ int32_t Individual_7::find_alignment(int32_t nb_tries,
...
@@ -2132,6 +2132,15 @@ int32_t Individual_7::find_alignment(int32_t nb_tries,
return
cur_score
;
return
cur_score
;
}
}
int32_t
Individual_7
::
nb_genes_activ
(){
return
annotated_chromosome_
[
A
]
->
nb_genes_activ
#ifdef __EUKARYOTE
+
annotated_chromosome_
[
B
]
->
nb_genes_activ
#endif
;
}
int32_t
Individual_7
::
nb_genes_inhib
(){
int32_t
Individual_7
::
nb_genes_inhib
(){
return
annotated_chromosome_
[
A
]
->
nb_genes_inhib
return
annotated_chromosome_
[
A
]
->
nb_genes_inhib
#ifdef __EUKARYOTE
#ifdef __EUKARYOTE
...
...
This diff is collapsed.
Click to expand it.
src/libaevol/7/Individual_7.h
+
1
−
0
View file @
69ebb8f3
...
@@ -150,6 +150,7 @@ class Individual_7 : public Observable {
...
@@ -150,6 +150,7 @@ class Individual_7 : public Observable {
bool
inverted_parents_
;
bool
inverted_parents_
;
int32_t
dna_length
();
int32_t
dna_length
();
int32_t
nb_genes_activ
();
int32_t
nb_genes_inhib
();
int32_t
nb_genes_inhib
();
int32_t
nb_func_genes
();
int32_t
nb_func_genes
();
int32_t
nb_coding_RNAs
();
int32_t
nb_coding_RNAs
();
...
...
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