Learn R Programming

RVtests (version 1.2)

count2geno: Transforming genotype counts to genotype codes

Description

Transform genotype counts data format to genotype codes format.

Usage

count2geno(cgeno, indid)

Arguments

cgeno
A matrix or data frame with 3 columns: indid (individual IDs), snpid (SNP IDs), and count
indid
Individuals ID, including indid in cgeno

Value

A matrix of genotypes

See Also

geno2count