GOBar: Z-score coloured barplot.

Description Usage Arguments Details Examples

Description

Z-score coloured barplot of terms ordered alternatively by z-score or the negative logarithm of the adjusted p-value

Usage

1
GOBar(data, display, order.by.zscore = T, title, zsc.col)

Arguments

data

A data frame containing at least the term ID and/or term, the adjusted p-value and the z-score. A possible input can be generated with the circle_dat function

display

A character vector indicating whether a single plot ('single') or a facet plot with panels for each category should be drawn (default='single')

order.by.zscore

Defines the order of the bars. If TRUE the bars are ordered according to the z-scores of the processes. Otherwise the bars are ordered by the negative logarithm of the adjusted p-value

title

The title of the plot

zsc.col

Character vector to define the colour scale for the z-score of the form c(high, midpoint,low)

Details

If display is used to facet the plot the width of the panels will be proportional to the length of the x scale.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 
#Load the included dataset
data(EC)

#Building the circ object
circ<-circular_dat(EC$david, EC$genelist)

#Creating the bar plot
GOBar(circ)

#Faceting the plot
GOBar(circ, display='multiple')

## End(Not run)

GOplot documentation built on May 2, 2019, 8:57 a.m.