CRAN/E | simtrait

simtrait

Simulate Complex Traits from Genotypes

Installation

About

Simulate complex traits given a SNP genotype matrix and model parameters (the desired heritability, 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 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 (2022) doi:10.1101/2022.03.25.485885.

github.com/OchoaLab/simtrait
Bug report File report

Key Metrics

Version 1.1.3
Published 2023-01-06 640 days ago
Needs compilation? no
License GPL-3
CRAN checks simtrait results

Downloads

Yesterday 2 0%
Last 7 days 25 -52%
Last 30 days 167 -6%
Last 90 days 643 +39%
Last 365 days 2.217 -9%

Maintainer

Maintainer

Alejandro Ochoa

Authors

Alejandro Ochoa

aut / cre

Material

README
NEWS
Reference manual
Package source

Vignettes

'simtrait': Simulate Complex Traits from Genotypes

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

simtrait archive

Imports

PRROC

Suggests

popkin
testthat
knitr
rmarkdown
bnpsd
BEDMatrix