cross: Cross with random mating, or equal contributions, or randomly...

Description Usage Arguments Value See Also

View source: R/cross.R

Description

Cross with random mating, or equal contributions, or randomly between two populations

Usage

1
2
cross(sEnv = NULL, nProgeny = 100, equalContribution = F,
  popID = NULL, popID2 = NULL, notWithinFam = F, pedigree = NULL)

Arguments

sEnv

the environment that BSL functions operate in. If NULL, the default simEnv is attempted

nProgeny

the number of progenies. Default: 100

equalContribution

if T all individuals used the same number of times as parents, if F individuals chosen at random to be parents. Default: F

popID

population ID to be crossed. Default: the last population

popID2

population ID to be crossed with popID to make hybrids. Default: second population not used

notWithinFam

if TRUE, like equalContribution, all individuals are used the same number of times as parents and self-fertilization is not allowed. In addition, half- and full-sibs are not allowed to mate. Default: F

pedigree

optional two- or three-column matrix: the first two columns are the GIDs that you want to cross, the third column is the number of progeny from that cross. NOTE: pedigree supersedes the nProgeny, equalContribution, popID, popID2, and notWithinFam parameters. You have to know what you are doing to use this parameter. Default: NULL

Value

modifies the list sims in environment sEnv by creating a progeny population as specified, with an incremented population number

See Also

defineSpecies for an example


BreedingSchemeLanguage documentation built on May 2, 2019, 10:17 a.m.