pedConvertCpp {detectRUNS}R Documentation

Convert ped genotypes to 0/1

Description

This is a utility function, that convert ped genotypes (AA/AB/BB) into 0/1 (either homozygous/heterozygous)

Usage

pedConvertCpp(genotype)

Arguments

genotype

vector of pair of genotypes (01, AA, AG)

Value

converted vector of genotypes (0/1)


[Package detectRUNS version 0.9.6 Index]