go_term_bar: go_term_bar

View source: R/go_term_bar.R

go_term_barR Documentation

go_term_bar

Description

nice looking bar graph of top GO terms from GSEA by pval or NES.

Usage

go_term_bar(
  gsea_results,
  n_terms = 10,
  metric = "NES",
  fill = T,
  change_labels = F,
  pval_fill = T
)

Arguments

gsea_results

dataframe with GSEA results.

n_terms

number of top GO terms to plot.

metric

must be "NES" or "pval".

fill

if T, will fill bars with gradient colours, if F, will fill bars with grey only.

change_labels

to change pathway names to lowercase and remove "GO:" from the pathway names.

pval_fill

if T, will colour bars based on pval.

Value

bar graph.


mvhunter1/mvhfunctions documentation built on May 31, 2024, 3:36 p.m.