merge_sumstats: Merging summary statistics with LD-score files - refer to...

View source: R/merge_sumstats.R

merge_sumstatsR Documentation

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)

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.

Value

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


pleioh2g documentation built on March 9, 2026, 5:07 p.m.