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 14 Jul. 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

AutoWeatherIndices  
Calculating Weather Indices
Weather indices are formed from weather variables in this package. The users can input any number of ...
Download / Learn more Package Citations See dependency  
pps  
PPS Sampling
Functions to select samples using PPS (probability proportional to size) sampling. The package also ...
Download / Learn more Package Citations See dependency  
maGUI  
A Graphical User Interface for Microarray Data Analysis and Annotation
Provides a comprehensive graphical user interface for analysis of Affymetrix, Agilent, Illumina, Nim ...
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  
surveyCV  
Cross Validation Based on Survey Design
Functions to generate K-fold cross validation (CV) folds and CV test error estimates that take into ...
Download / Learn more Package Citations See dependency  

27,806

R Packages

236,180

Dependencies

73,837

Author Associations

27,807

Publication Badges

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