Description Usage Arguments Value
View source: R/ArchitectureModel.R
Estimate sigma using the provided SNPs and a given s. This is done by ensuring that the whole distribution is scaled to obtain the theoretical proportion of SNPs above the second threshold, given the first, thereby ensuring that if s is correct then there should be no relationship between MAF and whether beta is over each threshold.
This uses a binary search of the possible thresholds that impact the choice, and is therefore logarithmic in the number of SNPs.
1 | getsigma(ratio, thresholds)
|
ratio |
The ratio of beta/betahat(f,s,sigma=1) |
thresholds |
The architecture thresholds to be used in s.d. units. |
The estimate of sigma
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.