powered by
Function to change the base-pair in a specific loci
mutation.intro( population, gen = NULL, database = NULL, cohorts = NULL, qtl.posi, target.variant = NULL, haplo.set = 1 )
Population-List with mutated marker for the selected individual
Population list
Quick-insert for database (vector of all generations to export)
Groups of individuals to consider for the export
Quick-insert for database (vector of names of cohorts to export)
Marker number to mutate
target variant to obtain (( if haplotype already is correct do not introduce a mutation ))
Select chromosome set (default: 1 , alt: 2, 1:2 (to edit both))
data(ex_pop) ex_pop <- mutation.intro(ex_pop, database = cbind(1,1,1), qtl.posi=100)
Run the code above in your browser using DataLab