prs_calc: Calculate Polygenic Risk Score

Description Usage Arguments Value Examples

View source: R/prs_calc.R

Description

Calculate Polygenic Risk Score

Usage

1
prs_calc(base_file = NULL, base_header = TRUE, target_bed = NULL)

Arguments

base_file

path and file name to summary statistics

base_header

a logical value indicating whether the first row of base_file contains column names, default is TRUE.

target_bed

path and file name to plink's .bed individual-level genotype-phenotype file, .bim and .fam files must also be located in the same directory with the same file name, prefix, e.g. EUR.bed, EUR.bim, EUR.fam.

Value

a numeric

Examples

1
prs_calc(base_file = "./data/extdat/Height.QC.Transformed", target_bed = "./inst/extdat/EUR.QC.bed")

timyers/ImPRS documentation built on Oct. 6, 2020, 6:26 p.m.