Learn R Programming

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

ggroups (version 2.0.1)

Pedigree and Genetic Groups

Description

Calculates additive and dominance genetic relationship matrices and their inverses, in matrix and tabular-sparse formats. It includes functions for checking and processing pedigree, as well as functions to calculate the matrix of genetic group contributions (Q), and adding those contributions to the genetic merit of animals (Quaas (1988) ). Calculation of Q is computationally extensive. There are computationally optimized functions to calculate Q.

Copy Link

Version

Install

install.packages('ggroups')

Monthly Downloads

217

Version

2.0.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Mohammad Ali Nilforooshan

Last Published

February 18th, 2020

Functions in ggroups (2.0.1)

pedup

Upward pedigree extraction
qmatXL

Matrix Q for large pedigrees (parallel processing)
tabD

Dominance relationship matrix D in a tabular-sparse format
renum

Pedigree renumbering
tabDinv

Inverse of the dominance relationship matrix D in a tabular format
tab2mat

Tabular to matrix
rg

Genetic relationship coefficient
pruneped

Pedigree pruning
tabA

Relationship matrix A in a tabular format
tabAinv

Inverse of the relationship matrix A in a tabular format
buildA

Relationship matrix A
qmat

Matrix Q
qmatL

Matrix Q for large pedigrees
buildD

Relationship matrix D
gghead

Append genetic groups to the pedigree
inb

Inbreeding coefficient
ggroups-package

Pedigree and genetic groups
mat2tab

Matrix to tabular
offspring

Descendants of an individual per generation
Qgpu

Vector Qg + u
pedcheck

Basic pedigree checks
peddown

Downward pedigree extraction