quercus.df {dmm}R Documentation

Quercus example dataset

Description

Example dataset from the program package 'QUERCUS', developed by Ruth G. Shaw and Frank H. Shaw. Known to 'quercus' as the 'demo2' dataset.

Usage

data(quercus.df)

Format

A data frame with 180 observations on the following 6 variables.

Id

Identifier for individuals

SId

Identifier for sires of individuals

DId

Identifier for dams of individuals

Sex

A numeric vector: code for Sex of each individual

Trait1

A numeric vector: an observation called Trait1

Trait2

A numeric vector: an observation called Trait2

Details

This is a simulated dataset suitable for a 3-component analysis, the components being environmental variance, additive genetic variance, and dominance genetic variance. It needs pre-processing with function mdf() to add base animals, to combine the two traits into a matrix, and to calculate additive and dominance relationship matrices.

Source

https://cbs.umn.edu/eeb/about-eeb/helpful-links/quercus-quantitative-genetics-software

Examples

library(dmm)
data(quercus.df)
str(quercus.df)
# preprocess
quercus.mdf <- mdf(quercus.df,pedcols=c(1:3),factorcols=4,ycols=c(5:6),
               relmat=c("E","A","D"),sexcode=c(1,2))
str(quercus.mdf)
# cleanup
rm(quercus.df)
rm(quercus.mdf)
#
# there is a full analysis of this dataset in 'dmmOverview.pdf'.
#

[Package dmm version 2.1-10 Index]