create_annot_file_and_export: Function to create 22 .annot.gz files for each annotation.

Description Usage Arguments Value

View source: R/LDSC_Creatingannot_Functions.R

Description

Function to create 22 .annot.gz files for each annotation.

Usage

1
create_annot_file_and_export(list_of_annotations, annot_basedir)

Arguments

list_of_annotations

A named list with all annotations that have been overlapped with the baseline model. It is important that annotation names do not include an underscore ('_'). If it does, when using the Assimilate_H2_results() function anything prior to the last word in the annotation name will be removed, due to the way the Assimilate_H2_results() function works. Consider using a different separate, such as a full stop or colon.

annot_basedir

Base directory in which files should be created. Do not include "/" at the end of the directory name.

Value

Create directories representing each of the named annotations, with .annot.gz files for each of 22 chromosomes.


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