go_term_bar: go_term_bar

Description Usage Arguments Value

View source: R/go_term_bar.R

Description

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

Usage

1
2
3
4
5
6
7
8
go_term_bar(
  gsea_results,
  n_terms = 10,
  metric = "NES",
  fill = T,
  change_labels = T,
  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/mvhspatialplots documentation built on April 24, 2021, 10:52 a.m.