formMppData2: Form mppData object

View source: R/formMppData2.R

formMppData2R Documentation

Form mppData object

Description

Function that subset a global population composed from all the cross of a Dialleld structure and form mppData object for realisation of particular MPP design.

Usage

formMppData2(
  geno_sim,
  nPar,
  map,
  MPP_sub,
  pheno,
  type = NULL,
  F.gen = NULL,
  BC.gen = NULL,
  window = 20
)

Arguments

geno_sim

genotype matrix of the global population.

nPar

Number of parents in the original diallel.

map

Correspondig three column genetic map (mk.id, chr, pos cM).

MPP_sub

subset information obtained as output of the function SampleMPPDesign2.

pheno

Simulated phenotype values.

type

Type of population.

F.gen

Number of F generations.

BC.gen

Number of BC generations.

window

size of the window used by clusthaplo to cluster the parents.

Value

mppData object

Author(s)

Vincent Garin


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