barplotGO: barplotGO

View source: R/barplotGO.R

barplotGOR Documentation

barplotGO

Description

The function barplotGO.R implement the barplot of the first 15 enrichment terms.

For each enrichment result table a barplot is produced. Results are stored in the "enrichment_plots" subfolder for each comparison.

Usage

barplotGO(
  enrich_table,
  my_comparison = NULL,
  where_results = "./",
  outfolder = "results/"
)

Arguments

enrich_table

Dataframe containing the enrichment results or a path to your .tsv file containing the enrichment results. Columns 'Term' and 'Adjusted.P.Value' are required.

my_comparison

Name of the comparison the user would like to inspect.

where_results

Specify the folder in which you want to save outputs. (Default = "./"). Note: if you are working with R Notebooks the default working directory (if not specified) is the folder in which the .Rmd is saved.

outfolder

The name to assign to the folder for output saving. (Default = "results/"). NOTE: please add "/" at the end.


isabellagrassucci/autogo_cp documentation built on April 10, 2022, 12:05 a.m.