allele.freq.G {IFP} | R Documentation |
Allele Frequency Computation from the sequencing data with a vcf type of the 1000 Genomes Project
Description
Computes allele frequencies from the sequencing data with a vcf type of the 1000 Genomes Project.
Usage
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
data(apoeG)
allele.freq.G(apoeG)
[Package IFP version 0.2.4 Index]