genoConvertCpp: Convert 0/1/2 genotypes to 0/1

Description Usage Arguments Value

View source: R/RcppExports.R

Description

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

Usage

1
genoConvertCpp(genotype)

Arguments

genotype

vector of 0/1/2 genotypes

Value

converted vector of genotypes (0/1)


detectRUNS documentation built on Oct. 30, 2019, 11:41 a.m.