convert.allele.calls: Convert allele calls to numeric values.

View source: R/convert.allele.calls.R

convert.allele.callsR Documentation

Convert allele calls to numeric values.

Description

Converts allele calls in A,C,G,T,H,N format into numbers with 0: homozygous A, 1: heterozygous, 2: homozygous B, 3: no call.

Usage

  convert.allele.calls(geno)

Arguments

geno

Character matrix containing A, C, G, T, H or N.

Value

Numeric matrix containing 0, 1, 2 or 3.

Author(s)

Daniel Gatti

Examples

  ## Not run:  convert.allele.calls(geno) 

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