This is an R packages for Genomics, quantGen, and popGen studies, especially for crop species. This package was intended for internal lab usage. It has not been extensively tested. Use at your own risk.
Install devtools first, and then use devtools
to install g3tools
from github.
#install.packages(devtools)
devtools::install_github("jyanglab/g3tools")
library(g3tools)
List all the functions in the package and find help.
ls(getNamespace("g3tools"), all.names=FALSE)
simcrop
: this function can simulate phenotypes with user specified distribution. (normal, gamma, or uniform).sim_qtl_pheno
: simulate phenotype for given number of QTLs.
get_BLUP
: Estimate best linear unbiased predictor (BLUP) of the phenotypic values.get_H2
: get broad sense heritability from BLUP model.
Stay tuned. It is under development!
It is a free and open source software, licensed under GPLv3.