Calculate_enrichment_SE_and_logP: Calculate enrichment SE, logP and z-score p-value.

Description Usage Arguments Value

View source: R/LDSC_SummariseOutput_Functions.R

Description

Function calculating upper and lower bounds of enrichment SE, log P(enrichment) and z-score p-value.

Usage

1

Arguments

df

Dataframe with .results output of LDSC, as created using the Assimilate_H2_results() function.

one_sided

Specify whether one-sided or two-sided p-value required. If NULL, two-sided test will be used. If one-sided preferred then specify direction of one-sided test. "-" for negative, and "+" for positive.

Value

Dataframe with upper and lower bounds of enrichment SE, log P(enrichment) and z-score p-value


RHReynolds/LDSCforRyten documentation built on Sept. 27, 2021, 5:20 p.m.