Learn R Programming

IFP (version 0.2.4)

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

Run this code
# NOT RUN {
 data(apoeG)
 allele.freq.G(apoeG)
# }

Run the code above in your browser using DataLab