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)
Returns
A data frame of runs per individual sample
Details
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