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 21 Nov. 2024.
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
Get rewarded with contribution points by helping add
Reviews / comments / questions /suggestions ↴↴↴

Today's Hot Picks in Authors and Packages

SCBiclust  
Identifies Mean, Variance, and Hierarchically Clustered Biclusters
Identifies a bicluster, a submatrix of the data such that the features and observations within the s ...
Download / Learn more Package Citations See dependency  
kgschart  
KGS Rank Graph Parser
Restore underlining numeric data from rating history graph of KGS (an online platform of the game o ...
Download / Learn more Package Citations See dependency  
pkgdepends  
Package Dependency Resolution and Downloads
Find recursive dependencies of 'R' packages from various sources. Solve the dependencies to obtain ...
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  
RcppHNSW  
'Rcpp' Bindings for 'hnswlib', a Library for Approximate Nearest Neighbors
'Hnswlib' is a C++ library for Approximate Nearest Neighbors. This package provides a minimal R int ...
Download / Learn more Package Citations See dependency  
crossrun  
Joint Distribution of Number of Crossings and Longest Run
Joint distribution of number of crossings and the longest run in a series of independent Bernoulli ...
Download / Learn more Package Citations See dependency  

23,229

R Packages

199,929

Dependencies

62,984

Author Associations

23,230

Publication Badges

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