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 08 Mar. 2026.
Previous versions and publish date:
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

ptycho  
Bayesian Variable Selection with Hierarchical Priors
Bayesian variable selection for linear regression models using hierarchical priors. There is a pr ...
Download / Learn more Package Citations See dependency  
candisc  
Visualizing Generalized Canonical Discriminant and Canonical Correlation Analysis
Functions for computing and visualizing generalized canonical discriminant analyses and canonical c ...
Download / Learn more Package Citations See dependency  
generator  
Generate Data Containing Fake Personally Identifiable Information
Allows users to quickly and easily generate fake data containing Personally Identifiable Informatio ...
Download / Learn more Package Citations See dependency  
vars  
VAR Modelling
Estimation, lag selection, diagnostic testing, forecasting, causality analysis, forecast error varia ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  

26,270

R Packages

223,360

Dependencies

70,376

Author Associations

26,265

Publication Badges

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