A function to calculate the confidence intervals for each of the gene sets in the `geneResults` object

1 2 | ```
calcBayesCI(QSarray,low=0.025,up=1-low,addVIF=!is.null(QSarray$vif))
``` |

`QSarray` |
A |

`low, up` |
the lower and upper bounds of the confidence interval. |

`addVIF` |
a logical indicating whether the VIF should be used to calculate the variance of the pathway. |

This function can be used to calculate a confidence interval (CI) for the gene sets in `QSarray`

. By default, a 95% CI is calculated, with the lower and upper bounds at `0.025%`

and `0.975%`

, respectively. This function is used in plotCIs to plot the confidence intervals of each pathway.

Matrix of size (`2 x numPathways(QSarray)`

) containing the lower and upper bounds of the confidence intervals for each pathway in `QSarray`

.

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

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