Package: simtrait Title: Simulate Complex Traits from Genotypes Version: 1.1.11.9000 Authors@R: c( person(given = "Alejandro", family = "Ochoa", role = c("aut", "cre"), email = "alejandro.ochoa@duke.edu", comment = c(ORCID = "0000-0003-4928-3403")), person(given = "Grace E.", family = "Rhodes", role = "aut", email = "grace.e.rhodes@duke.edu", comment = c(ORCID = "0000-0001-9412-5370")) ) Description: Simulate complex traits given a SNP genotype matrix and model parameters (the desired heritability, optional environment group effects, number of causal loci, and either the true ancestral allele frequencies used to generate the genotypes or the mean kinship for a real dataset). Emphasis is on avoiding common biases due to the use of estimated allele frequencies. The code selects random loci to be causal, constructs coefficients for these loci and random independent non-genetic effects, and can optionally generate random group effects. Traits can follow three models: random coefficients, fixed effect sizes, and infinitesimal (multivariate normal). GWAS method benchmarking functions are also provided. Described in Yao and Ochoa (2023) . License: GPL-3 Encoding: UTF-8 Roxygen: list(markdown = TRUE) RoxygenNote: 7.3.2 Imports: PRROC, stats Suggests: popkin, testthat, knitr, rmarkdown, bnpsd, BEDMatrix VignetteBuilder: knitr URL: https://github.com/OchoaLab/simtrait BugReports: https://github.com/OchoaLab/simtrait/issues Repository: https://ochoalab.r-universe.dev Date/Publication: 2025-07-08 20:14:32 UTC RemoteUrl: https://github.com/ochoalab/simtrait RemoteRef: HEAD RemoteSha: 89b19084517ff563c79b8a490cec9fb1d1925b95 NeedsCompilation: no Packaged: 2026-06-04 06:58:09 UTC; root Author: Alejandro Ochoa [aut, cre] (ORCID: ), Grace E. Rhodes [aut] (ORCID: ) Maintainer: Alejandro Ochoa