get_genotypes: get_genotypes

View source: R/get_genotypes.R

get_genotypesR Documentation

get_genotypes

Description

The function calculates the genotypes of certain haplotypes, supplied as an input, based on the parental genotypes.

Usage

get_genotypes(parental_genotypes,pop,pre_selected_markers)

Arguments

parental_genotypes

Required: the parental genotypes object, the output of "get_parental_genotypes" function.

pop

Required: a haplotypes input object, the output of "create_haplotypes" function or any other selection subset haplotype functions

pre_selected_markers

Optional: if supplied, only these markers will be returned, it may be a file name or another genotype

Value

A structured list of a data set of haplotypes' genotypes and a data set of genomic loci

Examples

pop_genotypes = get_genotypes(parental_genotypes,pop1)

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