create_marker_set: create_marker_set

View source: R/create_marker_set.R

create_marker_setR Documentation

create_marker_set

Description

The function creates marker sub sets from genotype object of N number of random marker with a certain allele frequency cutoff.

Usage

create_marker_set(genotypes,N,MAF,input_geno_file,pheno,geno,biased_selection,gen2phy,parental_genotypes)

Arguments

genotypes

Required: input genotype object

N

Optional: number of markers to be selected randomly

MAF

Optional: minor allels frequency cutoff

no_qtn

Optional: a list of qtn to be excluded from the selected markers

biased_selection

optional: if TRUE, the randomly selected QTNs are biased to gene denesity regions

gen2phy

optinal: gen2phy object to calculate biased_selection

parental_genotypes

Required: parental_genotypes object

Value

a genotype object of two datasets; genotypes and gen2phy

Examples

ms1 = create_marker_set(genotypes=genotypes,N=6,MAF=0.2)

USDA-ARS-GBRU/crossword documentation built on April 5, 2023, 7:29 p.m.