dosage2hard: Get hard genotypes from genotype probabilities

dosage2hardR Documentation

Get hard genotypes from genotype probabilities

Description

Hard genotype is defined as the genotype with highest genotype probability.

Usage

dosage2hard(AA, AB, BB)

Arguments

AA

Genotype probability of AA or 0/0.

AB

Genotype probability of AB or 0/1.

BB

Genotype probability of BB or 1/1.

Value

A matrix of hard genotypes.


Yi-Jiang/MethyGenotyper documentation built on Sept. 4, 2024, 12:47 p.m.