create.genotype.states: Create genotype states.

View source: R/create.genotype.states.R

create.genotype.statesR Documentation

Create genotype states.

Description

Given a set of founders, create all of the possible unphased genotype states between them.

Usage

  create.genotype.states(founders, sampletype = c("DO", "CC", "HS", "HSrat"))

Arguments

founders

Character vector of letter codes indicating the founders.

sampletype

Character string that is one of DO, HS, CC or HSrat.

Details

Given a set of founder IDs, create all possible unphased genotypes and sort them.

Value

Character vector of unphased genotypes that can be created from the given founders.

Author(s)

Daniel Gatti

Examples

  create.genotype.states(founders = LETTERS[1:8], sampletype = "DO")

dmgatti/DOQTL documentation built on April 7, 2024, 10:35 p.m.