draw_enrich_go_map: Draw GO enrichment map

View source: R/fct_go.R

draw_enrich_go_mapR Documentation

Draw GO enrichment map

Description

This plots each enriched GO term, with its pvalue and gene count as color and size aesthetics. Two GO terms are linked by an edges if they share common genes in the input gene list given for enrichment analysis. The width of the edge is proportionnal to that number of shared genes.

Usage

draw_enrich_go_map(go)

Arguments

go

dataframe as returned by DIANE::enrich_go() function.

Examples

data("abiotic_stresses")
data("gene_annotations")
genes <- convert_from_agi(get_locus(abiotic_stresses$heat_DEGs))
background <- convert_from_agi(get_locus(rownames(abiotic_stresses$normalized_counts)))
go <- enrich_go(genes, background)
draw_enrich_go_map(go)

OceaneCsn/DIANE documentation built on Jan. 10, 2024, 6:43 p.m.