go_volcano_plot: GO Volcano Plot

View source: R/GO_analysis.R

go_volcano_plotR Documentation

GO Volcano Plot

Description

Generates a volcano plot for Gene Ontology (GO) enrichment results from a specified component of a GO data object. Highlights significant GO terms (based on adjusted p-value) and labels the top 30 enriched terms with p.adjust < 0.7.

Usage

go_volcano_plot(x = GO_data, component = "V5N", extraTitle = "")

Arguments

x

A list-like object containing GO enrichment results for different components. Default is 'GO_data'.

component

A character string indicating the name of the component within 'x' to plot. Default is '"V5N"'.

extraTitle

An optional string to append to the plot title. If empty, it defaults to '"Component : <component>"'.

Value

A 'ggplot' object displaying the volcano plot of GO terms for the specified component.

Examples

# Assuming GO_data is a properly formatted object with a "V5N" component
go_volcano_plot(GO_data, component = "V5N")

eisascience/scCustFx documentation built on June 2, 2025, 3:59 a.m.