# Creates, Merges, and Reads Binary Dosage Files

## Documentation for package ‘BinaryDosage’ version 2.0.0

- DESCRIPTION file
- User guides, package vignettes and other documentation
- Package NEWS
- Package README

## Help Pages

bdapply | Apply a function to each SNP in a binary dosage file
bdmerge | Merge binary dosage files together
closebd5con | Close a persistent Format 5 connection
genapply | Apply a function to each SNP in a gen, impute2, file
gentobd | Convert a gen file to a binary dosage file
getaaf | Calculate alternate allele frequency
getbd5snp | Read a SNP from a Format 5 binary dosage file
getbd5snp_buf | Read a Format 5 SNP into pre-allocated vectors (buffered variant)
getbd5snp_con | Read a Format 5 SNP using a persistent open connection
getbdinfo | Get information about a binary dosage file
getgeninfo | Get information about a gen, impute2, file
getmaf | Calculate minor allele frequency
getrsq | Calculate imputation r squared
getsnp | Read SNP data from a binary dosage file
getvcfinfo | Get information about a vcf file
mergebd | Merge Format 5 binary dosage files
openbd5con | Open a persistent connection to a Format 5 binary dosage file
subsetbd | Subset a binary dosage file
updatebd | Update a binary dosage file to Format 5
vcfapply | Apply a function to each SNP in a vcf file
vcftobd | Convert a VCF file to Format 5 binary dosage files
vcftobdlegacy | Convert a VCF file to a binary dosage file