Create a visualization of the models and variables selected by the iterative BMA algorithm.

1 | ```
imageplot.iterate.bma (bicreg.out, color="default", ...)
``` |

`bicreg.out` |
An object of type 'bicreg', 'bic.glm' or 'bic.surv' |

`color` |
The color of the plot. The value "default" uses the current default R color scheme for image. The value "blackandwhite" produces a black and white image. |

`...` |
Other parameters to be passed to the image and axis functions. |

This function is a modification of the `imageplot.bma`

function from the `BMA`

package. The difference is that
variables (genes) with `probne0`

equal to 0 are removed
before plotting. The arguments of this function is identical
to those in `imageplot.bma`

.

An heatmap-style image, with the BMA selected variables on the vertical
axis, and the BMA selected models on the horizontal axis. The variables
(genes) are sorted in descreasing order of the posterior probability
that the variable is not equal to 0 (`probne0`

) from top to
bottom. The models are sorted in descreasing order of the
model posterior probability (`postprob`

) from left to right.

The `BMA`

and `Biobase`

packages are required.

Clyde, M. (1999) Bayesian Model Averaging and Model Search Strategies (with discussion). In Bayesian Statistics 6. J.M. Bernardo, A.P. Dawid, J.O. Berger, and A.F.M. Smith eds. Oxford University Press, pages 157-185.

Yeung, K.Y., Bumgarner, R.E. and Raftery, A.E. (2005) Bayesian Model Averaging: Development of an improved multi-class, gene selection and classification tool for microarray data. Bioinformatics 21: 2394-2402.

1 2 3 4 5 6 7 8 9 10 11 | ```
library (Biobase)
library (BMA)
library (iterativeBMA)
data(trainData)
data(trainClass)
## training phase: select relevant genes
ret.bic.glm <- iterateBMAglm.train (train.expr.set=trainData, trainClass, p=100)
## produce an image plot to visualize the selected genes and models
imageplot.iterate.bma (ret.bic.glm)
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.