Description Usage Arguments Value
View source: R/ArchitectureSimulate.R
Simulate a genomic architecture from:
sigma^2 (f (1-f))^(s)
Where:
f=unif(frange[1],frange[2])
and beta=N(0,sigma*(f*(1-f))^(s/2))
.
1 | make_test_data(N, sigma = 1, s = -1, frange = c(0.01, 0.5))
|
N |
Number of SNPs to sample |
sigma |
(default: 1) Baseline variance |
s |
(default: -1) Genomic archictecture shape |
frange |
(default: 0.01,0.5) range of frequencies to simulate for f |
A data frame containing N rows and four columns: f, beta, varexplained (variance explained) and propexplained (proportion of variance explained).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.