check.pgs.weight.columns {ApplyPolygenicScore}R Documentation

Check PGS weight file columns

Description

Check that a PGS weight file contains the required columns for PGS application with apply.polygenic.score.

Usage

check.pgs.weight.columns(pgs.weight.colnames, harmonized = TRUE)

Arguments

pgs.weight.colnames

A character vector of column names.

harmonized

A logical indicating whether the presence of harmonized columns should be checked.

Value

A logical indicating whether the file contains the required columns.


[Package ApplyPolygenicScore version 3.0.1 Index]