Read LDscore format from ldsRs parquet format
Usage
parse_parquet_dir(dir, read_ref = FALSE, subset_annots = NULL)
Arguments
- dir
directory containing the files 'annot.parquet', 'annot_ref.parquet' and 'ld.parquet'
- read_ref
logical, whether to read the reference file 'annot_ref.parquet'
- subset_annots
Specify a character vector of annotations to read in, if NULL, all annotations are read in
Examples
if (FALSE) { # \dontrun{
files <- parse_parquet_dir("ldscores/atac")
} # }