View source: R/create_iso_female.R
| create_iso_female | R Documentation | 
create_isofemale simulates the creation of an isofemale line through extreme inbreeding.
create_iso_female(
  module = ancestry_module(),
  n = 1,
  inbreeding_pop_size = 100,
  run_time = 2000,
  num_threads = 1,
  verbose = FALSE
)
module | 
 Source population from which isofemales are generated  | 
n | 
 Number of isofemales to be generated  | 
inbreeding_pop_size | 
 Population size of the population used to generate homozygous individuals  | 
run_time | 
 Maximum runtime used for inbreeding  | 
num_threads | 
 number of threads. Default is 1. Set to -1 to use all available threads  | 
verbose | 
 Displays verbose output if TRUE. Default value is FALSE  | 
To create an isofemale, two individuals are randomly picked from
the source population. Using these two individuals, a new population is
seeded, of size inbreeding_pop_size. Then, this population is allowed
to inbreed until either run_time is reached, or until all individuals
are homozygous and genetically identical, whatever happens first.
A list of length n, where each entry is a fully homozygous
isofemale.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.