allele.freq.G: Allele Frequency Computation from the sequencing data with a...

Description Usage Arguments Value Examples

View source: R/allele.freq.G.R

Description

Computes allele frequencies from the sequencing data with a vcf type of the 1000 Genomes Project.

Usage

1
 allele.freq.G(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

array of allele frequencies of each variant.

Examples

1
2

IFP documentation built on May 29, 2017, 9:07 p.m.