View source: R/binning_functions.R
calculate_windowed_ld | R Documentation |
This function will take as input a tibble containing a PLINK LD file loaded with load_plink_ld(), calculate mean LD values (based on the stat column values), and return a new tibble.
calculate_windowed_ld(input, window, step)
input |
A tibble constructed with load_plink_ld |
window |
Size of window, in bp, to calculate mean LD in |
step |
Step size between windows |
A four-column tibble containing summary statistics
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.