quercus.df: Quercus example dataset

Description Usage Format Details Source Examples

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

1

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

http://cbs.umn.edu/academics/departments/eeb/quercus

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
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'.
#


Search within the dmm package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.