Learn R Programming

RVtests (version 1.0)

geno2count: Transforming genotype codes matrix to counts

Description

Genotype data format transformation: from genotype codes matrix to counts. The '0' codes will be removed.

Usage

geno2count(genotype)

Arguments

genotype
Genotype codes matrix

Value

  • Data frame of genotype counts with 3 columns: indid, snpid, and count

See Also

count2geno