creating.trait: Generation of genomic traits

Description Usage Arguments Value

View source: R/creating.trait.R

Description

Generation of the trait in a starting population

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
creating.trait(population = NULL, 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.breeding.correlation = NULL,
  n.additive = 0, n.dominant = 0, n.qualitative = 0,
  n.quantitative = 0, var.additive.l = NULL, var.dominant.l = NULL,
  var.qualitative.l = NULL, var.quantitative.l = NULL,
  exclude.snps = NULL, randomSeed = NULL, shuffle.traits = NULL,
  shuffle.cor = NULL, replace.real.bv = FALSE, trait.name = NULL,
  remove.invalid.qtl = TRUE, bv.standard = FALSE, mean.target = NULL,
  var.target = NULL, verbose = TRUE)

Arguments

population

Population list

real.bv.add

Single Marker effects

real.bv.mult

Two Marker effects

real.bv.dice

Multi-marker effects

bv.total

Number of traits (If more than traits via real.bv.X use traits with no directly underlying QTL)

polygenic.variance

Genetic variance of traits with no underlying QTL

bve.mult.factor

Multiplicate trait value times this

bve.poly.factor

Potency trait value over this

base.bv

Average genetic value of a trait

new.phenotype.correlation

Correlation of the simulated enviromental variance

new.breeding.correlation

Correlation of the simulated genetic variance (child share! heritage is not influenced!

n.additive

Number of additive QTL

n.dominant

Number of dominante QTL

n.qualitative

Number of qualitative epistatic QTL

n.quantitative

Number of quantitative epistatic QTL

var.additive.l

Variance of additive QTL

var.dominant.l

Variance of dominante QTL

var.qualitative.l

Variance of qualitative epistatic QTL

var.quantitative.l

Variance of quantitative epistatic QTL

exclude.snps

Marker were no QTL are simulated on

randomSeed

Set random seed of the process

shuffle.traits

Combine different traits into a joined trait

shuffle.cor

Target Correlation between shuffeled traits

replace.real.bv

If TRUE delete the simulated traits added before

trait.name

Name of the trait generated

remove.invalid.qtl

Set to FALSE to deactive the automatic removal of QTLs on markers that do not exist

bv.standard

Set TRUE to standardize trait mean and variance via bv.standardization()

mean.target

Target mean

var.target

Target variance

verbose

Set to FALSE to not display any prints population <- creating.diploid(nsnp=1000, nindi=100) population <- creating.trait(population, n.additive=100)

Value

Population-list with one or more additional new traits


MoBPS documentation built on March 31, 2020, 5:22 p.m.

Related to creating.trait in MoBPS...