View source: R/handle-weight-files.R
parse.pgs.input.header | R Documentation |
Parse metadata from a PGS input file header.
parse.pgs.input.header(pgs.weight.path)
pgs.weight.path |
A character string indicating the path to the pgs weight file. |
A data frame containing the metadata from the file header.
# 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);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.