Learn R Programming

IFP (version 0.2.4)

geno.freq: Genotype Frequency Computation from the sequencing data with a vcf type of the 1000 Genomes Project

Description

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

Usage

geno.freq(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 genotype frequencies of each variant.

Examples

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

Run the code above in your browser using DataLab