getHaplotypeFreq: Calculates haplotype frequencies between two SNPs using cpp...

Description Usage Arguments Value

Description

Calculates haplotype frequencies between two SNPs using cpp scripts.

Usage

1
getHaplotypeFreq(genotypes, condition.snps, genders)

Arguments

genotypes

A data frame containing genotype information for a set of SNPs. See getGenotypes for more details.

condition.snps

A dataframe containging information on SNPs to condition on. See getConditionSNP for more details.

genders

A numeric vector of the genders of the individuals in the genotypes data frame. 1 = male, 2 = female.

Value

see return value from getGenotypes for more details.


bahlolab/XIBD documentation built on May 11, 2019, 5:24 p.m.