formMppData: Form mppData objects

View source: R/formMppData.R

formMppDataR Documentation

Form mppData objects

Description

Function that subset a global population composed from all the cross of a Dialleld structure between 9 parents to for mppData objects. The function start from a particular realization (global population) composed of 5000 markers.

Usage

formMppData(
  geno_ABH,
  geno_012,
  map,
  MPP_sub,
  mk_prob,
  pheno,
  type = "F",
  nb_gen = 2
)

Arguments

geno_ABH

genotype matrix of the global population in ABH format.

geno_012

genotype matrix of the global population in 012 format.

map

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

MPP_sub

subset information obtained as output of the function SampleMPPDesign.

mk_prob

Problematic markers in the subset of the global population

pheno

Simulated phenotype values.

type

Type of population. Default = "F"

nb_gen

Number of generation. Default = 2.

Value

list containing two type of mppData object

Author(s)

Vincent Garin


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