Other packages > Find by keyword >

simtrait  

Simulate Complex Traits from Genotypes
View on CRAN: Click here


Download and install simtrait package within the R console
Install from CRAN:
install.packages("simtrait")

Install from Github:
library("remotes")
install_github("cran/simtrait")

Install by package version:
library("remotes")
install_version("simtrait", "1.1.3")



Attach the package and use:
library("simtrait")
Maintained by
Alejandro Ochoa
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2021-08-16
Latest Update: 2023-01-06
Description:
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>.
How to cite:
Alejandro Ochoa (2021). simtrait: Simulate Complex Traits from Genotypes. R package version 1.1.3, https://cran.r-project.org/web/packages/simtrait. Accessed 06 Aug. 2026.
Previous versions and publish date:
(2026-07-09 07:04), 1.0.21 (2021-08-16 09:10), 1.1.0 (2022-08-23 04:20)
Other packages that cited simtrait R package
View simtrait citation profile
Other R packages that simtrait depends, imports, suggests or enhances
Complete documentation for simtrait
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

SAMBA  
Selection and Misclassification Bias Adjustment for Logistic Regression Models
Health research using data from electronic health records (EHR) has gained popularity, but miscla ...
Download / Learn more Package Citations See dependency  
lsmeans  
Least-Squares Means
Obtain least-squares means for linear, generalized linear, and mixed models. Compute contrasts or l ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
RRedshiftSQL  
R Interface to the 'Redshift' Database
Superclasses 'PostgreSQL' connection to help enable full 'dplyr' functionality on 'Redshift'. ...
Download / Learn more Package Citations See dependency  
TMDb  
Access to TMDb API
Provides an R-interface to the TMDb API (see TMDb API on < ...
Download / Learn more Package Citations See dependency  

28,083

R Packages

239,283

Dependencies

74,457

Author Associations

28,084

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA