SampleMPPDesign2: Sample MPP design

View source: R/SampleMPPDesign2.R

SampleMPPDesign2R Documentation

Sample MPP design

Description

Function to sample the realisation of a MPP design from a full diallel made from np_dia with n_ind individual per crosses. The function sample a realisation of the design specified in argument MPP_des composed from np_sel parents including N individuals.

Usage

SampleMPPDesign2(
  np_dia = 9,
  n_ind = 200,
  MPP_des,
  np_sel,
  N = 800,
  cr_list,
  ncr
)

Arguments

np_dia

Parent number in the reference diallel. Default = 9.

n_ind

Number of individual per cross in the reference diallel. Default = 200.

MPP_des

Selected MPP design for the MPP sampling. One of: 'NAM' for nested association mapping design; 'Dia' for half-diallel; 'Chess' for chessboard design; 'Fact' for factorial desian; and 'Real' for a realized design.

np_sel

Number of parents in the selected MPP design

N

Total number of sampled individuals. Default = 800.

cr_list

Numeric indicator of the desired crosses on the half diallel grid. This argument is only necessary for 'free' MPP design.

ncr

Numeric vector specifying the number of individuals that should be selected in each cross in the free MPP design.

Value

List containing the numeric genotype identifiers, the selected parents and the selected crosses.

Author(s)

Vincent Garin


vincentgarin/mppSim documentation built on Oct. 11, 2024, 3:18 p.m.