get.max.geno {DOQTL} | R Documentation

## Get the genotype with the highest probability

### Description

For each sample at each marker, return the genotype state with the highest probability.

### Usage

      get.max.geno(probs)

### Arguments

`probs` | Three dimensional numeric matrix containing the founder haplotype contributions.

### Details

If the maximum probability is greater than 0.75, it is called homozygous. Otherwise, we take the two highest probabilities and call heterozygous.

### Value

Character matrix containing the genotype with the highest probability at each locus.

### Author(s)

Daniel Gatti

### Examples

      ## Not run:  get.max.geno(probs)

[Package DOQTL version 1.19.0 Index]