Learn R Programming

func2vis (version 1.0-3)

plot_go_terms: Bupple Plot for GO Terms

Description

Make a bubble plot for significantly enriched Gene Ontologies (GO) Terms obtained after performing gene set overexpression analysis using 'ConsensusPathDB'.

Usage

plot_go_terms(df_goterms, total_no_background_genes, 
              negative_log_10_p_value_cutoff, max_overlap)

Value

Returns a bubble plot of type ggplot.

Arguments

df_goterms

The tab-separated data frame with the GO terms information obtained after performing gene set overexpression analysis using 'ConsensusPathDB'.

total_no_background_genes

Total no of genes in the background set.

negative_log_10_p_value_cutoff

The threshold on -log10(pvalue) to be used to identify the GO terms to be highlighted in the plot.

max_overlap

To prevent overlapping text, set this paramater to a number >= 20.

Author

Raghvendra Mall

Details

Plots the significantly enriched molecular function (m), cellular components (c) and biological processes (b) obtained via ConsensusPathDB.

Examples

Run this code
data("enriched_goterms")
g <- plot_go_terms(df_goterms = enriched_goterms, negative_log_10_p_value_cutoff=17)
g

Run the code above in your browser using DataLab