genotype {IFP}R Documentation

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

Description

Convert sequencing data to genotypes.

Usage

 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

 data(apoeG)
 genotype(apoeG)

[Package IFP version 0.2.4 Index]