simulMGF: Simulate SNP Matrix, Phenotype and Genotypic Effects

Simulate genotypes in SNP (single nucleotide polymorphisms) Matrix as random numbers from an uniform distribution, for diploid organisms (coded by 0, 1, 2), Sikorska et al., (2013) <doi:10.1186/1471-2105-14-166>, or half-sib/full-sib SNP matrix from real or simulated parents SNP data, assuming mendelian segregation. Simulate phenotypic traits for real or simulated SNP data, controlled by a specific number of quantitative trait loci and their effects, sampled from a Normal or an Uniform distributions, assuming a pure additive model. This is useful for testing association and genomic prediction models or for educational purposes.

Getting started

Package details

AuthorMartin Nahuel Garcia [aut, cre]
MaintainerMartin Nahuel Garcia <garcia.martin@inta.gob.ar>
LicenseMIT + file LICENSE
Version0.1.1
URL https://github.com/mngar/simulMGF
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("simulMGF")

Try the simulMGF package in your browser

Any scripts or data that you put into this service are public.

simulMGF documentation built on April 3, 2023, 5:27 p.m.