create_cross_design: Simulate the creation of a cross design object

Description Usage Arguments Examples

View source: R/create_cross_design.R

Description

This function creates the cross design object which can be generated from parents or the previous generation selections

Usage

1
2
3
4
create_cross_design(parent.info, prog.percross, generation,
  mating.design = "AssortiveMating", coancest.thresh = T,
  use.par.marker.effects = F, use.op.par.phenos = F, cross.file = NULL,
  save = F, parent.phenos = NULL)

Arguments

parent.info

The parent object from which contains individuals to make crosses from. This should come from either the create_parents() or extract_selections()

prog.percross

Number of progeny that should be made per cross

generation

Number that specifies which generation

mating.design

Specify the type of mating design to be used in making crosses: "AssortiveMating" (Default), "Self", "RandomMating","SP","MP", or "cross.file.input". (See details for description)

coancest.thresh

logical. Should a coancestry threshold be used as to minimize making related crosses?

use.par.marker.effects

logical. Set to TRUE if using the parents marker effects

use.op.par.phenos

logical. Set to TRUE if passing parents created from OP_crossing()

cross.file

User provided cross.file; Should be used if mating.design = "cross.design.input"

save

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

parent.phenos

Object returned from sim_parent_phenos()

Examples

1
2
cross.file  <- create_cross_design(mapinfo = the.map,parent.info = op.families,prog.percross = 60,
generation = 1, use.op.par.phenos = T)

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