read_sscore_file: Read a PRS file as a data frame

Description Usage Arguments Value Examples

View source: R/fileIO.R

Description

Read a sscore file (output from plink2 –score function) as a data frame for the specified columns along with 'FID' and 'IID'

Usage

1
read_sscore_file(sscore_file_path, columns = c("SCORE1_SUM"))

Arguments

sscore_file_path

A path to the sscore file

columns

a list of columns to read

Value

data frame containing phenotype data

Examples

1
2
3
4
## Not run: 
read_sscore_file(sscore_file_path)

## End(Not run)

rivas-lab/snpnet documentation built on Dec. 14, 2021, 3:22 a.m.