OchoaLab/simtrait: Simulate Complex Traits from Genotypes

Simulate a complex trait given a SNP genotype matrix and model parameters (the desired heritability and the true ancestral allele frequencies used to generate the genotypes). Users can choose the number of causal loci and minimum marginal allele frequency requirements for the causal loci. The code selects random loci to be causal, draws random Normal effect sizes for these loci (scaled appropriately) and random independent non-genetic effects.

Getting started

Package details

Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
OchoaLab/simtrait documentation built on Oct. 18, 2019, 5:42 a.m.