pedInbreeding | R Documentation |
Calculates Pedigree Based Inbreeding
pedInbreeding(Pedig)
Pedig |
Data frame containing the Pedigree with the first 3 columns being |
Computation of pedigree based inbreeding.
This function is a wrapper function for pedigree
from package pedigree
.
A data frame with column Indiv
containing the individual IDs and column Inbr
containing the inbreeding coefficients.
Robin Wellmann
data(PedigWithErrors)
data(Phen)
keep <- Phen$Indiv
Pedig <- prePed(PedigWithErrors, keep=keep)
Res <- pedInbreeding(Pedig)
mean(Res$Inbr[Res$Indiv %in% keep])
#[1] 0.01943394
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.