GetAlleleFreq: Return the frequency of an allele in a population.

Description Usage Arguments Examples

Description

Takes a population as input an the allele of interest, and return its frequency.

Usage

1
GetAlleleFreq(population, allele)

Arguments

population
allele

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
structure(function (population, allele)
{
    standardGeneric("GetAlleleFreq")
  }, generic = structure("GetAlleleFreq", package = "AdmSim"), package = "AdmSim", group = list(), valueClass = character(0), signature = c("population",
"allele"), default = `\001NULL\001`, skeleton = (function (population,
    allele)
stop("invalid call in method dispatch to 'GetAlleleFreq' (no default method)",
    domain = NA))(population, allele), class = structure("nonstandardGenericFunction", package = "methods"))

alghul96/AdmSim documentation built on May 27, 2019, 3:29 p.m.