Learn R Programming

Familias (version 2.6.2)

NorwegianFrequencies: A list of markers with allele names and frequencies

Description

The information represents allele frequencies for a range of different markers based on a data base in Norway.

Usage

data(NorwegianFrequencies)

Arguments

Format

A list with named components, with names corresponding to the names of the loci. Each component is a vector of frequencies, with the names attribute of the vector equal to the names of the alleles.

Examples

Run this code
data(NorwegianFrequencies)

#Displaying the Norwegian frequencies of the 
NorwegianFrequencies$TPOX

#Generating a FamiliasLocus with these frequencies
FamiliasLocus(NorwegianFrequencies$TPOX)

#Including a non-zero male mutation rate
FamiliasLocus(NorwegianFrequencies$TPOX, maleMutationRate = 0.005)

#Listing the names of available markers
names(NorwegianFrequencies)

Run the code above in your browser using DataLab