snprelate_allele_frequencies | R Documentation |
Wrapper over SNPRelate::snpgdsSNPRateFreq
snprelate_allele_frequencies(
gdata,
snps_idx = NULL,
scans_idx = NULL,
quiet = FALSE
)
gdata |
A GenotypeData object |
snps_idx |
Vector of snps indices |
scans_idx |
Vector of scans indices |
quiet |
Whether to be quiet |
A data frame of snps_idx, snps_ids, allele1, allele2, maf, missing where allele1 and allele2 are the rates of the alleles, and maf the minimum of the 2. Missing is the missing rate. N.B: the allele rates are computed on the non missing genotypes, i.e. their sum equals 1.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.