Description Usage Arguments Details Value
To construct an optimal PRS see make_optimal_prs()
and to make a comorbid PRS see make_comorbid_prs()
.
1 | make_prs(bfile, assoc, p, pheno)
|
bfile |
Base file name of the binary file set used for the analysis. See details for construction and instructions. |
assoc |
File name and path to the assoc file with the beta and P values used to construct the score. |
p |
P value threshold to cut off the score. |
pheno |
(optional) Vector or file path to phenotype to use for association analysis. This is required by other functions but this function by default just returns the score so you can do the association yourself. |
All input takes the form of PLINK files. If your input is in a different format, please convert it beforehand. This program requires binary format input for performance reasons. We also recommend clumping SNPs or some other method for removing LD between markers. See the vignette for assistance on this.
(Currently) A data frame with three columns: FID, IID, and the generated score.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.