View source: R/groupMatSingle.R
| groupMatSingle | R Documentation |
Group the genotype or haplotype of a half-sib family into partitions using opposing homozygotes.
groupMatSingle(haplotype, windowsSize, cpus = 2, input = "haplotype", oh = 0)
haplotype |
|
windowsSize |
|
cpus |
|
input |
|
oh |
|
A grouping matrix.
addSwitch and fixSW
haplotype <- .simulateHalfsib(10, 5000, type = "haplotype")$phased
gMat <- groupMatSingle(haplotype, 100, 2, "haplotype")
imageplot(gMat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.