read_plink: Read plink bfiles to R and reformat

Description Usage Arguments Details Author(s) References See Also

View source: R/read_plink.R

Description

To read plink files into R and transfer the files to the format we use in the EBPRS() function.

Usage

1
read_plink(path)

Arguments

path

path to the test files (plink bfiles, without extension)

Details

The input should not include the extension. For example, the test files are AA.bed, AA.bim and AA.fam, then the input should be 'AA' instead of 'AA.bed'.

Author(s)

Shuang Song, Wei Jiang, Lin Hou and Hongyu Zhao

References

Song S, Jiang W, Hou L, Zhao H (2020) Leveraging effect size distributions to improve polygenic risk scores derived from summary statistics of genome-wide association studies. PLoS Comput Biol 16(2): e1007565. https://doi.org/10.1371/journal.pcbi.1007565

See Also

EBPRS


EBPRS documentation built on Aug. 26, 2020, 9:06 a.m.

Related to read_plink in EBPRS...