Assimilate_H2_results: Function assembling herirtability results from LD score...

Description Usage Arguments Value

View source: R/LDSC_SummariseOutput_Functions.R

Description

Function assembling herirtability results from LD score regression

Usage

1
Assimilate_H2_results(path_to_results)

Arguments

path_to_results

List of file paths where .results output from LDSC stored. For the function to work (i.e. provide the full name of the annotation and the name of the GWAS), it is important that neither the GWAS name or the annotation name includes '_'. If it does, anything after the first word in the GWAS name will be removed, or anything before the last word in the annotation will be removed. Consider using a different separator in annotation/GWAS names e.g. a full stop, or colon.

Value

Dataframe of results together with annotation name and GWAS.


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