GSEA.to.GOnumber: Conversion of GSEA terms into Gene Ontology numbers

View source: R/GSEA.to.GOnumber.R

GSEA.to.GOnumberR Documentation

Conversion of GSEA terms into Gene Ontology numbers

Description

Helps to convert the terms of GSEA analyses into Gene Ontology (GO) ID numbers.

Usage

GSEA.to.GOnumber(
  input_terms,
  input_pvalue,
  return_table = T,
  export_table = F,
  output_file_name = paste(getwd(), "GO_numbers_table.tsv", sep = "/")
)

Arguments

input_terms

A character vector containing the GSEA terms to be converted.

input_pvalue

A numeric vector containing the p-values of the GSEA terms.

return_table

Logic value to define whether to return the resulting data.frame. By default TRUE.

export_table

Logic value to define whether to export the resulting data.frame. By default FALSE.

output_file_name

Path and file name of the output table if export is required. By default <working.directory>/GO_numbers_table.tsv.

Details

This functions requires the package GO.db.
If problems are encountered during the installation see https://www.biostars.org/p/50564/.

Value

If required, returns a data.frame with 3 columns: GO_number, GO_annotation, p.value. This table could be directly exported.


sebastian-gregoricchio/Rseb documentation built on May 15, 2024, 5:45 a.m.