calc_parents_TGV: Cacluate Parents Total Genetic Value

Description Usage Arguments Examples

Description

This function esimates the total genetic value of parents produced from the create_parents function

Usage

1
2
calc_parents_TGV(parents, map.info, A, a, dom.coeff, usesnpeffect = F,
  snp.effects = NULL, save = F, prefix = NULL)

Arguments

parents

The object that is returned from the create_parents function

map.info

The object returned from create_map function

A

Value assigned to the Major SNPQTL allele

a

Value assigned to the Minor SNPQTL allele

dom.coeff

The dominance coeffcient used for SNPQTLs

usesnpeffect

logical. Set to TRUE if specificying user provided snp effects. Default: FALSE

snp.effects

The vector of SNP effects to use. Only use if usesnpeffect = TRUE.

save

logical. Saves the output of genetic map (Default: FALSE)

prefix

Name prefix to add to ouptut if save = TRUE. Default does not write output

Examples

1
parent.TGV <- calc_parents_TGV(parents = the.parents, map.info = the.map, A = 1, a = -100, dom.coeff = 1)

arfesta/SimBreeder documentation built on Dec. 19, 2021, 4:37 a.m.