get.maf: Calculate minor allele frequencies

View source: R/get.maf.R

get.mafR Documentation

Calculate minor allele frequencies

Description

Function to calculate minor allele frequencies

Usage

get.maf(population, database = NULL, gen = NULL, cohorts = NULL, id = NULL)

Arguments

population

Population list

database

Groups of individuals to consider for the export

gen

Quick-insert for database (vector of all generations to export)

cohorts

Quick-insert for database (vector of names of cohorts to export)

id

Individual IDs to search/collect in the database

Value

Allele frequency of the minor allele

Examples

data(ex_pop)
get.maf(ex_pop, gen = 1)

MoBPS documentation built on Nov. 5, 2025, 6:26 p.m.

Related to get.maf in MoBPS...