Learn R Programming

Mega2R (version 1.1.0)

mkGenABELcoding: generate GenABEL coding vector

Description

Each element of the coding vector is the index of the corresponding genotype in the GenABEL:::alleleID.codes() array. The genotypes are ordered so the allele with the greater frequency appears first.

Usage

mkGenABELcoding(markers = NULL, envir)

Value

None

Arguments

markers

data frame of markers to be processed

envir

'environment' containing SQLite database and other globals

Examples

Run this code
if (FALSE) {
mkGenABELcoding(envir)
}

Run the code above in your browser using DataLab