Learn R Programming

DNAtools (version 0.2-4)

freqEst: Simple allele frequency estimation

Description

Estimates allele frequencies from a database with DNA profiles

Usage

freqEst(x)

Arguments

x

A database of the form ['id','locus1 allele1','locus1 allele2',...,'locusN allele 1','locusN allele2'].

Value

Returns a list of probability vectors - one vector for each locus.

Details

Computes the allele frequencies for a given database.

Examples

Run this code
# NOT RUN {
  data(dbExample)
  freqEst(dbExample)

# }

Run the code above in your browser using DataLab