pycrosstalker.plots.gene_annotation

pycrosstalker.plots.gene_annotation(gene_list_to_profile, num_gos: int = 15, figsize=(10, 6), title: str = None, font_size: int = 10, organism: str = 'hsapiens', dpi: int = 100, s: int = 100, color: str = 'tab:blue')

Perform Gene Ontology (GO) enrichment analysis and create a scatterplot of enriched terms.

Parameters:

num_gos: int, optional

Number of GO terms to plot. Default is 5.

figsize: tuple, optional

figsize. Default is (6,6).

title: str

Title of the plot.

font_size: int, optional

Font size for labels. Default is 10.

0rganism: str, optional

The organism for GO analysis. Default is ‘hsapiens’.

dpi: int, optional

Dots per inch for the saved plot image. Default is 100.

s: int, optional

Marker size for the scatterplot. Default is 200.

color: str, optional

Color of the scatterplot markers. Default is ‘tab:blue’.

Returns:

None

Plots the scatterplot of enriched GO terms.