setConfiguration: sets the configuration for the simulations

Description Usage Arguments Details

View source: R/utils.R

Description

sets the configuration for the simulations

Usage

1
setConfiguration(LD, N_BLOCKS, N_MARKERS)

Arguments

LD

can be set as low, medium, or high

N_BLOCKS

is the number of LD blocks generated

N_MARKERS

is the number of SNPs per LD block

Details

These parameters are passed on to setConfiguration_ which creates the list configruation object. By default one causal SNP is used with an effect size of .01 Rsquared. The phenotype is assumed to be Gaussian.

This function is intended to provide a simplied interface to the setConfiguration_ function.


weinstockj/gwassim documentation built on May 4, 2019, 4:18 a.m.