View source: R/mutation.intro.R
| mutation.intro | R Documentation |
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 |
Population list |
gen |
Quick-insert for database (vector of all generations to export) |
database |
Groups of individuals to consider for the export |
cohorts |
Quick-insert for database (vector of names of cohorts to export) |
qtl.posi |
Marker number to mutate |
target.variant |
target variant to obtain (( if haplotype already is correct do not introduce a mutation )) |
haplo.set |
Select chromosome set (default: 1 , alt: 2, 1:2 (to edit both)) |
Population-List with mutated marker for the selected individual
data(ex_pop)
ex_pop <- mutation.intro(ex_pop, database = cbind(1,1,1), qtl.posi=100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.