Learn R Programming

GOplot (version 1.0.2)

reduce_overlap: Eliminates redundant terms.

Description

The function eliminates all terms with a gene overlap >= set threshold (overlap) The reduced dataset can be used to improve the readability of plots such as GOBubble and GOBar

Usage

reduce_overlap(data, overlap)

Arguments

data
A data frame created with circle_dat.
overlap
Skalar indicating the threshold for gene overlap (default = 0.75).

Details

The function is currently very slow.

Examples

Run this code
## Not run: 
# # Load the included dataset
# data(EC)
# 
# # Building the circ object
# circ <- circle_dat(EC$david, EC$genelist)
# 
# # Eliminate redundant terms
# reduced_circ <- reduce_overlap(circ)
# 
# # Plot reduced data
# GOBubble(reduced_circ)
# 
# ## End(Not run)

Run the code above in your browser using DataLab