Simulating Admixed Genotypes Without Replacement

A genomic simulation approach for creating biologically informed individual genotypes from empirical data that 1) samples alleles from populations without replacement, 2) segregates alleles based on species-specific recombination rates. 'gscramble' is a flexible simulation approach that allows users to create pedigrees of varying complexity in order to simulate admixed genotypes. Furthermore, it allows users to track haplotype blocks from the source populations through the pedigrees.


gscramble

check-standard pkgdown CRANstatus

This is an R package for simulating individuals that are admixed between different populations according to a pedigree. To do so it uses sampling without replacement from samples taken from each population.

You can read the documentation for it at: https://eriqande.github.io/gscramble/

You can install in from GitHub:

remotes::install_github(
  "eriqande/gscramble", 
  build_opts = c("--no-resave-data"), 
  build_vignettes = TRUE, 
  build_manual = TRUE,
  quiet = FALSE
)

Once that is installed you can read the vignettes:

vignette("gscramble-tutorial")  # information on input data objects
vignette("about-createGSP")  # a function to make simple genomic simulation pedigrees
vignette("permutation-options")  # about the different options for permuting

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("gscramble")

1.0.2 by Eric C. Anderson, 3 months ago


https://github.com/eriqande/gscramble


Report a bug at https://github.com/eriqande/gscramble/issues


Browse source code at https://github.com/cran/gscramble


Authors: Eric C. Anderson [aut, cre] (ORCID: , Rachael M. Giglio [aut] (ORCID: , Matt G. DeSaix [aut] , Timothy J. Smyser [aut] (ORCID:


Documentation:   PDF Manual  


CC0 license


Imports dplyr, ggplot2, glue, magrittr, purrr, readr, rlang, stats, stringr, tibble, tidyr

Suggests cowplot, knitr, rmarkdown, tidyverse


See at CRAN