Description Usage Arguments Details Author(s) See Also Examples
This function plots the results of stat.bayesian() or stat.bay.est() highlighting genes meeting userspecified criteria.
1 2 |
x |
output from stat.bayesian() or stat.bay.est() |
Mbar |
Effect estimate for each gene. |
lods |
Posterior lodsratio for each gene. |
type |
Type of criteria for highlighting genes (see details). |
spec |
Specifies cutoff etc. depending on |
ch |
Character with which to selected highlight genes. (Default is the gene index.) |
col |
Colour of highlighted genes. (Default is black.) |
... |
Additional graphical parameters |
If type='t', plot.bayesian() highlights the top spec genes. If type='c', plot.bayesian() highlights the genes with lods>=spec. If type='i', plot.bayesian() highlights the genes with indecies specified in spec.
Ingrid Lönnstedt ingrid@math.uu.se
1 2 3 4 5 6 7 8 9 10 | data(MouseArray)
## mouse.setup <- init.grid()
## mouse.data <- init.data() ## see \emph{init.data}
## mouse.lratio <- stat.ma(mouse.data, mouse.setup)
mouse.bayesian<-stat.bayesian(M=mouse.lratio$M)
plot.bayesian(mouse.bayesian)
plot.bayesian(mouse.bayesian,type='c',spec=0,col='blue')
plot.bayesian(mouse.bayesian,type='i',spec=c(1000,2000),col='green')
plot.bayesian(mouse.bayesian,type='i',spec=1:length(mouse.bayesian$lods))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.