OP_testing: Generate Open Pollinated Families

Description Usage Arguments Examples

View source: R/OP_testing.R

Description

This function simulates the creation of an Open Pollinated design and can make selections of which Parents perform the best

Usage

1
2
3
OP_testing(map.info, parent.info, parent.phenos, parents.TGV, num.select,
  cross.prog = 1, dom.coeff, A, a, h2, E.var = NULL, run.parallel = F,
  n.cores = NULL)

Arguments

map.info

Object returned from create_genetic_map()

parent.info

Object returned from create_parents()

parent.phenos

Object returned from sim_parents_phenos()

parents.TGV

Object returned from calc_parents_TGV()

num.select

The number of parents to select from the OP cross design

cross.prog

The number of crosses to be made between each founder parent

dom.coeff

The dominance cofficient used in estimating genetic values

A

The value assigned to the major allele

a

The value assigned to the minor allele

h2

Heritability to be used in estimating phenotypes

run.parallel

logical. Set TRUE to run in parallel.

n.cores

The number of cores which will be used if ran in parallel

Examples

1
2
3
op.families <- OP_testing( map.info = the.map, parent.info = the.parents, parent.phenos = parent.PHENOS,
parents.TGV = parent.TGV, cross.prog = 1, num.select = 64, dom.coeff = 1, A = 1, a = -100, h2 = .3, 
run.parallel = T,n.cores = 3)

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