draw_enrich_go: Plot the enriched go terms of an enrich_go result

View source: R/fct_go.R

draw_enrich_goR Documentation

Plot the enriched go terms of an enrich_go result

Description

Plot the enriched go terms of an enrich_go result

Usage

draw_enrich_go(go_data, max_go = dim(go_data)[1])

Arguments

go_data

dataframe returned by the enrich_go function, containing for each significant GO, their gene count, gene symbols, adjusted pvalue, description, etc.

max_go

maximum number of GO terms to display. Default is the total significant GO number, but for legibility reasons, you may want to reduce that number

Examples

## Not run: 
data("abiotic_stresses")
genes <- abiotic_stresses$heat_DEGs

genes <- get_locus(genes)
background <- get_locus(rownames(abiotic_stresses$normalized_counts))

genes <- convert_from_agi(genes)
background <- convert_from_agi(background)
go <- enrich_go(genes, background)
draw_enrich_go(go)
draw_enrich_go(go, max_go = 20)

## End(Not run)

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