read_plink {EBPRS} | R Documentation |
Read plink bfiles to R and reformat
Description
To read plink files into R and transfer the files to the format we use in the EBPRS() function.
Usage
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
[Package EBPRS version 2.1.0 Index]