Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add parentmean / grandparent mean to selection techs #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions mobps.html
Original file line number Diff line number Diff line change
Expand Up @@ -1317,6 +1317,18 @@ <h4>Edge {{ active_edge.id }}</h4>
</select>
</td>
</tr>
<tr v-show="['Selection', 'Split', 'Aging'].indexOf(active_edge['Breeding Type']) >= 0 && (active_edge['Selection Type']== 'Parent_Mean' || active_edge['Selection Type']== 'Grandparent_Mean')">
<td> Mean between
<span class="tooltip">&#9432 <span class="tooltiptext">Select the mean between that parent values is used for the breeding value estimation</span></span>
</td>
<td>
<select v-model="active_edge['Selection Type Mean']">
<option v-for="option in selectionType_options2" v-bind:value="option">
{{ option }}
</option>
</select>
</td>
</tr>
<tr v-show="['Selection', 'Split', 'Aging'].indexOf(active_edge['Breeding Type']) >= 0 && active_edge['Selection Type']=='BVE' & geninfo['advanced'] && geninfo['advanced_advanced']">
<td>Calculate reliability
<span class="tooltip">&#9432 <span class="tooltiptext">Calculate reliability of BVE according to vanRaden 2008</span></span>
Expand Down
3 changes: 2 additions & 1 deletion public/javascript/network.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,8 @@ var data_Vue = new Vue({
plottingType: ["By Repeats", "By Cohorts", "By Time"],
Genotype_generation_options: ["Upload Genotypes", "Random-sampling", "Fully-homozygous", "Fully-heterozygous", "All-B-Allele", "All-A-Allele"],
Breedingtype_options: ['Selection', 'Reproduction', 'Aging', 'Combine', 'Repeat', 'Split', 'Cloning', 'Selfing', 'DH-Production'],
selectionType_options: ['Phenotypic', 'Random', 'BVE' ],
selectionType_options: ['Phenotypic', 'Random', 'BVE', 'Parent_Mean', 'Grandparent_Mean'],
selectionType_options2: ['BVE', 'Phenotype', 'BV', 'BVE(+ Phenotype if BVE is not available)'],
RelationshipMatrix_options: ['VanRaden', 'Pedigree', 'Single Step'],
BVEMethod_options: ['Direct Mixed-Model', 'REML-GBLUP (EMMREML)', 'REML-GBLUP (rrBLUP)', 'REML-GBLUP (sommer)', 'Multi-trait REML-GBLUP (sommer)', 'BayesA', 'BayesB', 'BayesC', 'RKHS'],
Cohorts_options: ['Only this cohort', 'Last Generation', 'Last 2 Generations', 'Last 3 Generations', 'All', 'Manual select'],
Expand Down