View source: R/plotingFunctions.R
This function takes a results summary from the compBayes
function.
The output is a plot of showing posterior means on the
x-axis and precision on the y-axis, where precision ploted as the inverse
of the posterior coefficient of variation.
1 2 | precisionPlot(RES, byCond = FALSE, nullSet = c(-1, 1),
avgCond = FALSE, ptm = FALSE)
|
RES |
A results list generated from the function
|
byCond |
A boolean parameter which determines if separate plots should be made for each condition. The default is FALSE which results in the creation of a single plot. |
nullSet |
An interval which will determine the color scheme of the plot. The probability of being in the nullSet interval is approximated and points are colored according to categories of this probability. If a researcher is only interested in fold-changes greater than 2 then this interval should be set to (-1, 1). |
avgCond |
A boolean parameter that determines whether or not plots will be based on heierarchical population level mean parameters or average within sample parameters. The default is to use the population level parameter, however with very small sample sizes this plot may not be useful. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.