View source: R/set.mean.pool.R
| set.mean.pool | R Documentation |
Function to scale trait for genetic differences based on founder pools
set.mean.pool(
population,
pool = NULL,
mean = NULL,
trait = NULL,
gen = NULL,
database = NULL,
cohorts = NULL,
reference = "pool",
max.effects = Inf
)
population |
Population list |
pool |
Vector with pools considered (default: 1:length(mean)) |
mean |
Vector with the target mean for the different pools |
trait |
Which trait to set the new mean for |
gen |
Quick-insert for database (vector of all generations to export) (THIS CAN ONLY BE APPLIED ON FOUNDERS, if empty -> default: 1) |
database |
Groups of individuals to consider for the export (THIS CAN ONLY BE APPLIED ON FOUNDERS) |
cohorts |
Quick-insert for database (vector of names of cohorts to export) (THIS CAN ONLY BE APPLIED ON FOUNDERS) |
reference |
Target mean is compared again the reference (default: "pool" - average genomic value in the respective pool, alt: "all") |
max.effects |
Maximum number of locations in the genome that will be assigned an effect for pool-based correction |
Class of in gen/database/cohorts selected individuals
population = creating.diploid(nsnp = 100, nindi = 10, n.additive = 100, founder.pool = 1)
population = creating.diploid(population=population, nindi = 10,
founder.pool = 2)
population = set.mean.pool(population, mean = c(100,110))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.