Learn R Programming

DOQTL (version 1.8.0)

create.genotype.states: 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.

Value

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

Details

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

Examples

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

Run the code above in your browser using DataLab