Learn R Programming

DOQTL (version 1.8.0)

get.max.geno: 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.

Value

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

Details

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

Examples

Run this code
  ## Not run:  get.max.geno(probs) 

Run the code above in your browser using DataLab