Description Usage Arguments Value Author(s) Examples
View source: R/pleio_simulate.R
Example function to create simulations with no effects.
1 | pleio_simulate(n_traits, n_individuals, n_snp, percentage_mv = 0)
|
n_traits |
number of traits to simulate. |
n_individuals |
number of individuals to simulate. |
n_snp |
number of SNPs to simulate. |
percentage_mv |
proportion of missing values. By default = 0. |
a list with pheno and geno to test the pleioR function.
Original code by Fernando Aguate.
1 | sim1 <- pleio_simulate(n_traits = 3, n_individuals = 1e4, n_snp = 1e3, percentage_mv = 0.1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.