plot.PubMed {GEInfo} | R Documentation |
Visualize the prior information
Description
Visualize the prior counts for G variables and G-E interactions. It reports a bar chart for the top 40 G variables by prior count and a boxplot of prior counts for all G variables. For each E variables, it draws a bar chart for the corresponding top 20 G-E interactions by prior count.
Usage
## S3 method for class 'PubMed'
plot(x, G.count = NULL, GE.count = NULL, ...)
Arguments
x |
A 'PubMed' object for which visualization is desired. |
G.count |
A numeric vector of length p, including prior counts for all G variables. Default is NULL. |
GE.count |
A numeric matrix of dimensions p*q, including prior counts for G-E interactions. Default is NULL. |
... |
Other parameters. |
Value
The output includes bar chart for top G variables and G-E interactions by prior counts, and boxplot of prior counts for all G variables.
[Package GEInfo version 1.0 Index]