View source: R/check_window_kb.R
check_window_kb | R Documentation |
Check if the window size (in kilobases) is valid. Check if the window size (in kilobases) is valid. Will stop if not
check_window_kb(window_kb)
window_kb |
the window (i.e. the amount of base pairs around a focal SNP) in kilobases, as checked by check_window_kb |
Nothing. Will stop if the window size (in kilobases) is invalid
PLINK
uses a CLI flag called --window
that works with kilobases.
To adhere to the PLINK
interface, the word 'window' is used, yet with
the unit added in the flag's name
Richèl J.C. Bilderbeek
the window size is used by:
create_snp_window_selector: to select variants of a certain window around a SNP
check_window_kb(0.001) # 1 base pair
check_window_kb(1) # 1000 base pairs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.