Description Usage Arguments Value Author(s) See Also Examples
Used to automatically set up Bayesian finite mixture models for dosage allocation of dominant markers in autopolyploids given the number of components and ploidy level
1 2 3 |
n.components |
number of components for mixture model (less than or equal to maximum number of possible dosages) |
ploidy.level |
the number of homologous chromosomes, either as numeric or as a character string |
random.effect |
Logical indicating whether model contains random
effect (Default: |
seg.ratios |
segregation proportions for each marker provided as
S3 class |
ploidy.name |
Can overide ploidy name here or allow it to be
determined from |
equal.variances |
Logical indicating whether model contains
separate or common variances for each component (Default: |
type.parents |
"heterogeneous" if parental markers are 0,1 or "homogeneous" if parental markers are both 1 |
Returns object of class modelSegratioMM
with components
bugs.code |
text to be used by |
n.components |
number of components for mixture model |
monitor.var |
names of variables to be monitored in |
ploidy.level |
ploidy level |
random.effect |
Logical indicating whether model contains random
effect (Default: |
equal.variances |
Logical indicating equal or separate variances for each component |
E.segRatio |
Expected segregation ratios |
type.parents |
"heterogeneous" if parental markers are 0,1 or "homogeneous" if parental markers are both 1 |
call |
function call |
Peter Baker p.baker1@uq.edu.au
setPriors
setInits
expected.segRatio
segRatio
setControl
dumpData
dumpInits
or for an easier way to
run a segregation ratio mixture model see
runSegratioMM
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.