Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 69ebb8f3 authored by LUISELLI Juliette's avatar LUISELLI Juliette
Browse files

add nb_genes_activ function to Individual_7

parent 45414c58
No related branches found
No related tags found
No related merge requests found
...@@ -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
......
...@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment