rpoh | R Documentation |
Reconstructs a half-sib pedigree based on a matrix of opposing homozygotes.
rpoh(genotypeMatrix, oh, forwardVectorSize = 30, excludeFP = TRUE, nsap = 3,
maxRec = 15, intercept = 26.3415, coefficient = 77.3171, snpnooh, method, maxsnpnooh)
genotypeMatrix |
|
oh |
|
forwardVectorSize |
|
excludeFP |
|
nsap |
|
maxRec |
|
intercept |
|
coefficient |
|
snpnooh |
|
method |
|
maxsnpnooh |
|
Four methods simple, recombinations, calus and manual can be
utilized to reconstruct the pedigree.
The following examples show the arguments require for each method.
pedigree1 <- rpoh(oh = oh, snpnooh = 732, method = "simple")
pedigree2 <- rpoh(genotypeMatrix = genotypeChr1, oh = ohg(genotype), maxRec = 10 , method = "recombinations")
pedigree3 <- rpoh(genotypeMatrix = genotype, oh = oh, method = "calus")
pedigree4 <- rpoh(oh = oh, maxsnpnooh = 31662, method = "manual")
Returns a data frame with two columns, the first column is animals' ID and the second column is sire identifiers (randomly generated).
Method can be recombinations, simple, calus or manual. Please refer to vignette for more information.
The sire genotype should be removed before using this function utilizing pogc
function.
bmh
and recombinations
# Please run demo(hsphase)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.