Description Usage Arguments Details Value
This is a core function not intended to be exported
1 | slidingRuns(indGeno, individual, mapFile, gaps, parameters, cpp = TRUE)
|
indGeno |
vector of 0/1/NAs of individual genotypes (0: homozygote; 1: heterozygote) |
individual |
list of group (breed, population, case/control etc.) and ID of individual sample |
mapFile |
Plink map file (for SNP position) |
gaps |
distance between SNPs |
parameters |
list of parameters |
cpp |
use cpp functions or not (DEBUG) |
This method uses sliding windows to detect RUNs. Checks on minimum n. of SNP, max n. of opposite and missing genotypes, max gap between adjacent loci and minimum length of the run are implemented (as in the sliding window method). Both runs of homozygosity (RoHom) and of heterozygosity (RoHet) can be search for (option ROHet: TRUE/FALSE) NOTE: this methods is intended to not be exported
A data frame of runs per individual sample
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.