Description Usage Arguments Examples
Calculates the power to detect of a GRS to detect a signal at given significance level using a GRS weights in a certain sample size and with given imputatation quality. Note: It assumes that the weights used are accurate estimates of SNP effects.
1 |
n |
The number of individuals to include in the GRS |
max.iter |
The number of iterations to use for the power calculation. This affects the precision of the calculated power. Should be at least 100. |
popsize |
The size of the population sample from which is sampled. Should be larger than N. Affects accuracy of power estimate. |
snps: |
A dataframe with the following columns:
|
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.