Learn R Programming

pleioh2g (version 0.1.0)

merge_sumstats: Merging summary statistics with LD-score files - refer to ldscr R package (https://github.com/mglev1n/ldscr)

Description

`merge_sumstats()` Merging summary statistics with LD-score files

Usage

merge_sumstats(sumstats_df, w, x, chr_filter)

Value

A tibble (data frame) containing the merged summary statistics and LD-score

Arguments

sumstats_df

dataframe of sumstat

w

wld score

x

ld score

chr_filter

(numeric vector) Chromosomes to include in analysis. Separating even/odd chromosomes may be useful for exploratory/confirmatory factor analysis.