Learn R Programming

GEInfo (version 1.0)

plot.PubMed: 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 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.