Learn R Programming

⚠️There's a newer version (2.18.0) of this package.Take me there.

nadiv (version 2.14.2)

(Non)Additive Genetic Relatedness Matrices

Description

Constructs (non)additive genetic relationship matrices, and their inverses, from a pedigree to be used in linear mixed effect models (A.K.A. the 'animal model'). Also includes other functions to facilitate the use of animal models. Some functions have been created to be used in conjunction with the R package 'asreml' for the 'ASReml' software, which can be obtained upon purchase from 'VSN' international (http://www.vsni.co.uk/software/asreml).

Copy Link

Version

Install

install.packages('nadiv')

Monthly Downloads

1,601

Version

2.14.2

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Matthew Wolak

Last Published

February 5th, 2016

Functions in nadiv (2.14.2)

Mrode2

Pedigree from Table 2.1 of Mrode (2005)
numPed

Integer Format Pedigree
drfx

Simulated design random effects
makeS

Creates the additive genetic relationship matrix for the shared sex chromosomes
constrainFun

Function used in conjunction with others to produce a profile likelihood for a variance component
aic

Akaike Information Criterion
proLik

Profile Likelihoods
parConstrainFun

Function used in the proLik function to produce a profile likelihood for a variance component
aiFun

Sampling (co)variances
makeD

Creates the dominance genetic realationship matrix
makeDomEpi

Creates the additive by dominance and dominance by dominance epistatic genetic relationship matrices
makeAA

Creates the additive by additive epistatic genetic relationship matrix
genAssign

Generation assignment
pin

Approximate standard errors for linear functions of variance components
nadiv-package

(Non)Additive Genetic Relatedness Matrices in Animal Model Analyses
aiCI

Confidence Intervals for Variance Components
Mrode3

Pedigree, from chapter 3 of Mrode (2005)
makeAinv

Creates the inverse additive genetic relationship matrix
pcc

REML convergence checks
sm2list

Converts a sparse matrix into a three column format.
grfx

Simulated genetic random effects
makeA

Creates the additive genetic relationship matrix
simPedDFC

Double first cousin pedigree construction
makeDsim

Creates the dominance genetic relationship matrix through an iterative (simulation) process
Q1988

Pedigree, adapted from Quaas (1988) equation [5]
findDFC

Finds the double first cousins in a pedigree
simPedHS

Half-sib pedigree construction
varTrans

Transforms ASReml-R gamma variances to component scale
warcolak

Pedigree and phenotypic values for a mythical population of Warcolaks
ggcontrib

Genetic group contribution
prunePed

Prunes a pedigree based on individuals with phenotypes
prepPed

Prepares a pedigree by sorting and adding 'founders'
Mrode9

Pedigree, adapted from example 9.1 of Mrode (2005)
founderLine

Identifies the matriline or patriline to which each individual in a pedigree belongs
FG90

Pedigree, adapted from Table 1 in Fernando & Grossman (1990)