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]
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 29 Mar. 2025.
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
02/2702/2803/0103/0203/0303/0403/0503/0603/0703/0803/0903/1003/1103/1203/1303/1403/1503/1603/1803/1903/2003/2103/2203/2303/2403/2503/2603/27Downloads for simtrait12345678910TrendBars

Today's Hot Picks in Authors and Packages

landmix  
Landmark Prediction for Mixture Data
Non-parametric prediction of survival outcomes for mixture data that incorporates covariates and a l ...
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  
gglgbtq  
Show Pride on 'ggplot2' Plots
Provides multiple palettes based on pride flags with tailored themes. ...
Download / Learn more Package Citations See dependency  

23,842

R Packages

207,311

Dependencies

64,420

Author Associations

23,781

Publication Badges

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