Generation of the trait in a starting population
creating.trait(
population,
real.bv.add = NULL,
real.bv.mult = NULL,
real.bv.dice = NULL,
bv.total = 0,
polygenic.variance = 100,
bve.mult.factor = NULL,
bve.poly.factor = NULL,
base.bv = NULL,
new.phenotype.correlation = NULL,
new.residual.correlation = NULL,
new.breeding.correlation = NULL,
n.additive = 0,
n.equal.additive = 0,
n.dominant = 0,
n.equal.dominant = 0,
n.qualitative = 0,
n.quantitative = 0,
dominant.only.positive = FALSE,
var.additive.l = NULL,
var.dominant.l = NULL,
var.qualitative.l = NULL,
var.quantitative.l = NULL,
effect.size.equal.add = 1,
effect.size.equal.dom = 1,
exclude.snps = NULL,
randomSeed = NULL,
shuffle.traits = NULL,
shuffle.cor = NULL,
replace.traits = FALSE,
trait.name = NULL,
remove.invalid.qtl = TRUE,
bv.standard = FALSE,
mean.target = NULL,
var.target = NULL,
verbose = TRUE,
is.maternal = NULL,
is.paternal = NULL
)
Population list
Single Marker effects
Two Marker effects
Multi-marker effects
Number of traits (If more than traits via real.bv.X use traits with no directly underlying QTL)
Genetic variance of traits with no underlying QTL
Multiplicate trait value times this
Potency trait value over this
Average genetic value of a trait
(OLD! - use new.residual.correlation) Correlation of the simulated enviromental variance
Correlation of the simulated enviromental variance
Correlation of the simulated genetic variance (child share! heritage is not influenced!
Number of additive QTL with effect size drawn from a gaussian distribution
Number of additive QTL with equal effect size (effect.size)
Number of dominant QTL with effect size drawn from a gaussian distribution
Number of n.equal.dominant QTL with equal effect size
Number of qualitative epistatic QTL
Number of quantitative epistatic QTL
Set to TRUE to always asign the heterozygous variant with the higher of the two homozygous effects (e.g. hybrid breeding); default: FALSE
Variance of additive QTL
Variance of dominante QTL
Variance of qualitative epistatic QTL
Variance of quantitative epistatic QTL
Effect size of the QTLs in n.equal.additive
Effect size of the QTLs in n.equal.dominant
Marker were no QTL are simulated on
Set random seed of the process
Combine different traits into a joined trait
Target Correlation between shuffeled traits
If TRUE delete the simulated traits added before
Name of the trait generated
Set to FALSE to deactive the automatic removal of QTLs on markers that do not exist
Set TRUE to standardize trait mean and variance via bv.standardization()
Target mean
Target variance
Set to FALSE to not display any prints
Vector coding if a trait is caused by a maternal effect (Default: all FALSE)
Vector coding if a trait is caused by a paternal effect (Default: all FALSE)
Population-list with one or more additional new traits
# NOT RUN {
population <- creating.diploid(nsnp=1000, nindi=100)
population <- creating.trait(population, n.additive=100)
# }
Run the code above in your browser using DataLab