parse_sumstats_neale: Reads single sumstats file in the format of the Neale lab...

View source: R/sumstats.R

parse_sumstats_nealeR Documentation

Reads single sumstats file in the format of the Neale lab UKBB analysis.

Description

Note that this converts beta values to a normalized scale if they are not already on one. Note also that this reads the entire dataset into memory. If the number of SNPs is large, consider doing some preprocessing of your data to remove SNPs that are unlikely to be used in the analysis. Note also that this only keeps the normalized scale beta and SE due to memory concerns. The number of samples and p-value can be backed out from these.

Usage

parse_sumstats_neale(sumstats)

Arguments

sumstats

Tibble. Must include ccolumns "minor_AF", "low_confidence_variant", "tstat", "n_complete_samples", "beta", "se" and "pval".


brielin/WWER documentation built on May 22, 2022, 7:28 p.m.