convert: convert two columns of a variant from ped file into additive...

Description Usage Arguments Value

Description

convert two columns of a variant from ped file into additive coding

Usage

1
convert(M, ref)

Arguments

M

2 columns of a variant from ped file

ref

the first allele for the variant in map file

Value

a vector representing additive coding with length the same as sample size for that variant.


Struglab/RVS documentation built on May 9, 2019, 3:11 p.m.