Simulate Genotypes from the BN-PSD Admixture Model

The Pritchard-Stephens-Donnelly (PSD) admixture model has k intermediate subpopulations from which n individuals draw their alleles dictated by their individual-specific admixture proportions. The BN-PSD model additionally imposes the Balding-Nichols (BN) allele frequency model to the intermediate populations, which therefore evolved independently from a common ancestral population T with subpopulation-specific FST (Wright's fixation index) parameters. The BN-PSD model can be used to yield complex population structures. Method described in Ochoa and Storey (2016) .


News

2017-09-11 - bnpsd 1.0.0.9000

  • Public release!

2018-01-15 - bnpsd 1.0.1

  • Minor non-code changes for first CRAN submission.

2018-02-01 - bnpsd 1.0.1.9000

  • README.md now contains instructions for installing from CRAN as well as from GitHub.

2019-02-06 - bnpsd 1.0.2.9000

  • Added option noFixed to function rbnpsd to redraw loci that were drawn fixed for a single allele. These loci are not polymorphic so they would normally not be considered in analyses.

  • Added function fixed_loci to test for fixed loci within rbnpsd.

2019-02-07 - bnpsd 1.0.3.9000

  • Added function coanc_to_kinship to easily obtain kinship matrices from coancestry matrices.

2019-02-11 - bnpsd 1.0.4

  • Second CRAN submission.

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("bnpsd")

1.1.1 by Alejandro Ochoa, 3 months ago


https://github.com/StoreyLab/bnpsd/


Report a bug at https://github.com/StoreyLab/bnpsd/issues


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


Authors: Alejandro Ochoa [aut, cre] , John D. Storey [aut]


Documentation:   PDF Manual  


GPL-3 license


Imports stats

Suggests popkin, testthat, knitr, rmarkdown, RColorBrewer


See at CRAN