This is a core function. The function to determine whether a SNP is or not in a RUN. The ratio between homozygous/heterozygous windows and total n. of windows is computed here
snpInRun(RunVector, windowSize, threshold)vector of TRUE/FALSE (is a window homozygous/heterozygous?)
size of window (n. of SNP)
threshold to call a SNP in a RUN
vector of TRUE/FALSE (whether a SNP is in a RUN or NOT)