Learn R Programming

DOQTL (version 1.8.0)

convert.allele.calls: 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.

Examples

Run this code
  ## Not run:  convert.allele.calls(geno) 

Run the code above in your browser using DataLab