Description Usage Arguments Details
Function to obtain quasi-correlation estimates given
1 2 3 4 5 6 7 8 9 10 11 12 13 |
testBetas |
Univariate effect sizes for the out-of-sample data |
testSes |
Univariate standard errors for the effect sizes of the out-of-sample data |
N |
Sample sizes corresponding to the testBetas. Can be a constant or a vector. |
penalizedBetas |
The polygenic risk scores to be tested on the out-of-sample data. May be a matrix. |
refPanel |
PLINK stem for binary file to be used as the reference panel |
allele1 |
Vector of effect alleles for the penalizedBetas. Corresponds to the fifth column of a PLINK .bim file. |
allele2 |
Vector of reference alleles for the penalizedBetas. Corresponds to the sixth column of a PLINK .bim file. |
standardized |
Set to true if the coefficient estimates for penalizedBetas are standardized. Note that elastSum and tlpSum output standardized estimates. |
trainVar |
Phenotypic variance for data used to estimate the penalizedBetas. Only necessary if standardized = TRUE |
allele1.test |
Vector of effect alleles for the testBetas. Corresponds to the fifth column of a PLINK .bim file. |
allele2.test |
Vector of reference alleles for the testBetas. Corresponds to the sixth column of a PLINK .bim file. |
ldBlocks |
Location of file specifying independent LD Blocks to be used. File should be in the BED file format. If null, estimation is done by chromosome. |
Function requires univariate effect size estimates, standard errors, and sample sizes, candidate polygenic risk score estimates, and a reference panel.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.