mas: mas

View source: R/mas.R

masR Documentation

mas

Description

The function selects a subset of population based on marker assistant selection supplied as input.

Usage

mas(pop,marker,level,parental_genotypes)

Arguments

pop

Required: a haplotype object

marker

Required: a list of marker sets and minor allel frequencies

level

Required: a level for selection; 0, 1 or 2

parental_genotypes

Required: a parental_genotypes object

Value

A haplotype object.

Examples

marker = list(c("Aradu.A04_106615237","C",0.5),c("Aradu.A03_7819678","T",0.5))
hap1 = mas(pop,marker,2,parental_genotypes)

USDA-ARS-GBRU/crossword documentation built on Oct. 11, 2024, 12:51 a.m.