Learn R Programming

RVtests (version 1.2)

geno2count: Transforming genotype codes matrix to genotype counts

Description

Genotype counts

Usage

geno2count(genotype)

Arguments

genotype
Genotype matrix or data frame with row and column names, each row as an individual and each column as a snp

Value

Data frame of genotype counts with 3 columns: indid (individual IDs), snpid (SNP IDs), and count

See Also

count2geno