Conversion to Genotypes from Alleles using the sequencing data with a vcf type of the 1000 Genomes Project

Share:

Description

Convert sequencing data to genotypes.

Usage

1
 genotype(genoG)

Arguments

genoG

matrix of haplotypes. Each row indicates a variant, and each column ind icates a haplotype of an individual. Two alleles of 0 and 1 are available.

Value

matrix of genotypes with rows of variants and with columns of individuals.

Examples

1
2