Learn R Programming

GeneticsPed (version 1.34.0)

Mrode: Pedigree and data examples

Description

Various pedigree and data examples

Usage

data(Falconer5.1) data(Mrode2.1) data(Mrode3.1)

Arguments

Format

Falconer5.1 is a rather complex (inbreed) pedigree example from book by Falconer and Mackay (1996) - page 84 with 18 individuals and following columns:
sub
individual
fat
father
mot
mother
Mrode2.1 is an extended pedigree example from book by Mrode (2005) - page 27 with 6 individuals and following columns:
sub
individual
fat
father
mot
mother
fam
family
sex
sex
gen
generation
dtB
date of birth
Mrode3.1 is a pedigree and data example from book by Mrode (2005) - page 43: it shows a beef breeding scenario with 8 individuals (animals), where 5 of them have phenotypic records (pre-weaning gain) and 3 three of them are without records and link others through the pedigree:
calf
calf
sex
sex of a calf
sire
father of a calf
dam
mother of a calf
pwg
pre-weaning gain of a calf in kg

References

Falconer, D. S. and Mackay, T. F. C. (1996) Introduction to Quantitative Genetics. 4th edition. Longman, Essex, U.K. http://www.amazon.com/gp/product/0582243025

Mrode, R. A. (2005) Linear models for the prediction of animal breeding values. 2nd edition. CAB International. ISBN 0-85199-000-2 http://www.amazon.com/gp/product/0851990002

Examples

Run this code
  data(Falconer5.1)
  Pedigree(x=Falconer5.1, subject="sub", ascendant=c("fat", "mot"))

  data(Mrode2.1)
  Mrode2.1$dtB <- as.Date(Mrode2.1$dtB)
  Pedigree(x=Mrode2.1, subject="sub", ascendant=c("fat", "mot"),
           ascendantSex=c("M", "F"), family="fam", sex="sex",
           generation="gen", dtBirth="dtB")

  data(Mrode3.1)
  Pedigree(x=Mrode3.1, subject="calf", ascendant=c("sire", "dam"),
           ascendantSex=c("Male", "Female"), sex="sex")

Run the code above in your browser using DataLab