Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

FoldSibGPs

Fold IDs of Sibship Grandparents


Description

Fold IDs of sibship grandparents into a 2 x nInd/2 x 2 array, as they are stored in Fortran, and then stretch this into a vector that can be passed to Fortran and easily be transformed back into said 3D array.

Usage

FoldSibGPs(PedNum, Ng, Nd)

Arguments

PedNum

pedigree, ids replaced by numbers, dummies negative.

Ng

no. genotyped indivs.

Nd

length 2 vector, no. female & male dummies.

Value

An integer vector, with missing values as 0.


sequoia

Pedigree Inference from SNPs

v2.3.3
GPL-2
Authors
Jisca Huisman [aut, cre]
Initial release
2021-04-30

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.