buildCrosses: Create a data frame with all possible crosses

View source: R/buildCrosses.R

buildCrossesR Documentation

Create a data frame with all possible crosses

Description

Create a data frame based on given moms, dads, maximum relatedness, and maximum of individuals per relatedness cluster, return all crosses possible.

Usage

buildCrosses(moms, dads, keep, criterion, K)

Arguments

moms

vector of possible moms to use

dads

vector of possible dads to use

keep

vector of genotypes to keep

criterion

data frame with variable to maximize

K

relationship matrix between all genotypes

Value

A data frame with all possible crosses.

Author(s)

Rodrigo R Amadeu, rramadeu@gmail.com


rramadeu/SimpleMating documentation built on Jan. 30, 2023, 7:29 p.m.