Description Usage Arguments Value
This is a core function. The functions to detect RUNS are slid over the genome
1 2 | slidingWindowCpp(data, gaps, windowSize, step, maxGap, ROHet = TRUE,
maxOppositeGenotype = 1L, maxMiss = 1L)
|
data |
vector of 0/1/2 genotypes |
gaps |
vector of differences between consecutive positions (gaps) in bps |
windowSize |
size of window (n. of SNP) |
step |
by which (how many SNP) is the window slid |
maxGap |
max distance between consecutive SNP in a window to be still considered a potential run |
ROHet |
shall we detect ROHet or ROHom? |
maxOppositeGenotype |
max n. of homozygous/heterozygous SNP |
maxMiss |
max. n. of missing SNP |
vector of TRUE/FALSE (whether a window is homozygous or NOT)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.