pleio_simulate {pleiotest}R Documentation

Create simulations

Description

Example function to create simulations with no effects.

Usage

pleio_simulate(n_traits, n_individuals, n_snp, percentage_mv = 0)

Arguments

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.

Value

a list with pheno and geno to test the pleioR function.

Author(s)

Original code by Fernando Aguate.

Examples

sim1 <- pleio_simulate(n_traits = 3, n_individuals = 1e4, n_snp = 1e3, percentage_mv = 0.1)

[Package pleiotest version 1.0.0 Index]