check.pgs.weight.columns: Check PGS weight file columns

View source: R/handle-weight-files.R

check.pgs.weight.columnsR 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.


ApplyPolygenicScore documentation built on Aug. 21, 2025, 5:43 p.m.