Learn R Programming

⚠️There's a newer version (0.6-4) of this package.Take me there.

polySegratioMM (version 0.6-2)

Bayesian mixture models for marker dosage in autopolyploids

Description

Fits Bayesian mixture models to estimate marker dosage for dominant markers on autopolyploids using JAGS (1.0 or greater) as outlined in Baker et al (2010). May be used in conjunction with polySegratio for simulation studies and comparison with standard methods.

Copy Link

Version

Install

install.packages('polySegratioMM')

Monthly Downloads

156

Version

0.6-2

License

GPL-3

Maintainer

Peter Baker

Last Published

April 10th, 2012

Functions in polySegratioMM (0.6-2)

print.runJags

Running JAGS
setControl

Set up controls for a JAGS segregation ratio model run
runSegratioMM

Run a Bayesian mixture model for marker dosage with minimal effort
summary.segratioMCMC

Summary statistics for an segratioMCMC object
writeJagsFile

Writes BUGS file for processing by JAGS
polySegratioMM-package

Marker dosage for autoployploids by Bayesian mixture models
runJags

Run JAGS to create MCMC sample for segregation ratio mixture model
diagnosticsJagsMix

MCMC diagnostics for polyploid segregation ratio mixture models
plotFitted

Plot observed segregation ratios and fitted and theoretical models
dumpData

Dumps segregation ratio data to file for subsequent JAGS run
hexmarkers

Simulated autopolyploid dominant markers from 200 hexaploid individuals
writeControlFile

Write JAGS .cmd file for running JAGS
dosagesJagsMix

Compute dosages under specified Bayesian mixture model
hexmarkers.overdisp

Simulated overdispersed autopolyploid dominant markers from 200 hexaploid individuals
readJags

Read MCMC sample(s) from a JAGS run
plot.segratioMCMC

MCMC plots for segregation ratio mixture models
mcmcHexRun

Results of MCMC estimation for simulated overdispersed markers
setPriors

Set prior distributions for parameters of Bayesian mixture model for dosages
DistributionPlotBinomial

Distribution Plot
print.dosagesMCMC

Doses from Bayesian mixture model
setModel

Set characteristics of the Bayesian mixture model for dosages
setInits

Set up and dump initial values given the model and prior
calculateDIC

Compute DIC for fitted mixture model