Learn R Programming

euroMix (version 1.1.1)

db: Allele database

Description

Norwegian database with 17 EXS17 markers and 6 additional markers.

Usage

data(db)

Arguments

Format

A data frame with 324 observations on the following 3 variables.
Marker
a factor with levels corresponding to name of markers
Allel
a numeric vector denoting allele
Frequency
a numeric vector in (0,1)

Source

Dupuy et al. (2013), unpublished.

Details

The format is convenient for R

Examples

Run this code
data(db)
#Checks that frequencies add to 1
lapply(split(db$Frequency,db$Marker),sum)
#Finds number of alleles for all markers
unlist(lapply(split(db$Frequency,db$Marker),length))
#A closer look at the marker SE33
SE33=db[db$Marker=="SE33",]
barplot(SE33$Frequency)

Run the code above in your browser using DataLab