hh | R Documentation |
The hh
function creates a heatmap of the half-sib families using the
matrix of opposing homozygotes.
hh(oh, inferredPedigree, realPedigree, pedOnly = TRUE)
oh |
|
inferredPedigree |
|
realPedigree |
|
pedOnly |
|
Returns the heatmap of the matrix of opposing homozygotes with sidebars colour coded by sires from the inferred and original pedigree.
The fuction uses the colour generated by getcol function in the made4 package (Aedin Culhane).
ohg
and rpoh
c1h1 <- .simulateHalfsib(numInd = 62, numSNP = 5000)
c1h2 <- .simulateHalfsib(numInd = 38, numSNP = 5000)
Genotype <- rbind(c1h1, c1h2)
oh <- ohg(Genotype) # creating the Opposing Homozygote matrix
hh(oh)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.