snpInRun {detectRUNS} | R Documentation |
Function to return a vector of T/F for whether a SNP is or not in a RUN
Description
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
Usage
snpInRun(RunVector, windowSize, threshold)
Arguments
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 |
Value
vector of TRUE/FALSE (whether a SNP is in a RUN or NOT)
[Package detectRUNS version 0.9.6 Index]