db2: Allele database

Description Usage Format Details Source Examples

Description

Norwegian database for 10 SGM Plus markers.

Usage

1

Format

A data frame with 119 observations on the following 3 variables.

Marker

a factor with levels corresponding to name of markers

Allele

a numeric vector denoting allele

Frequency

a numeric vector in (0,1)

Details

The format is convenient for R.

Source

Andreassen et al. (2007).

Examples

1
2
3
4
5
6
7
8
data(db2)
#Checks that frequencies add to 1
lapply(split(db2$Frequency,db2$Marker),sum)
#Finds number of alleles for all markers
unlist(lapply(split(db2$Frequency,db2$Marker),length))
#A closer look at the marker TH01
TH01=db2[db2$Marker=="TH01",]
barplot(TH01$Frequency)

euroMixR documentation built on May 2, 2019, 4:54 p.m.

Related to db2 in euroMixR...