snpInRun {detectRUNS} | R Documentation |
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)
RunVector |
vector of TRUE/FALSE (is a window homozygous/heterozygous?) |
windowSize |
size of window (n. of SNP) |
threshold |
threshold to call a SNP in a RUN |
vector of TRUE/FALSE (whether a SNP is in a RUN or NOT)