View source: R/convert_gt_data.R
calculateAlleleFreqs | R Documentation |
This function calculates allele frequencies from a genotype matrix (sep_gt) for each variant.
It is designed to be used within the batch or window processing framework of process_vcf_in_batches
and process_vcf_in_windows
.
calculateAlleleFreqs(sep_gt)
sep_gt |
Genotype matrix similar to the |
A data frame containing allele frequencies for each variant.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.