parse.pgs.input.header {ApplyPolygenicScore}R Documentation

Parse PGS input file header

Description

Parse metadata from a PGS input file header.

Usage

parse.pgs.input.header(pgs.weight.path)

Arguments

pgs.weight.path

A character string indicating the path to the pgs weight file.

Value

A data frame containing the metadata from the file header.

Examples

# Example pgs weight file
pgs.weight.path <- system.file(
    'extdata',
    'PGS000662_hmPOS_GRCh38.txt.gz',
    package = 'ApplyPolygenicScore',
    mustWork = TRUE
    );
parse.pgs.input.header(pgs.weight.path);

[Package ApplyPolygenicScore version 3.0.1 Index]