calculate_windowed_ld: Calculate average LD values in sliding windows

Description Usage Arguments Value

View source: R/binning_functions.R

Description

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.

Usage

1

Arguments

input

A tibble constructed with load_plink_ld

window

Size of window, in bp, to calculate mean LD in

step

Step size between windows

Value

A four-column tibble containing summary statistics


nwvankuren/genomics-plotting documentation built on April 14, 2021, 1:18 a.m.