annotate_paths: Annotates functions to pathways

View source: R/functions.R

annotate_pathsR Documentation

Annotates functions to pathways

Description

Annotates functions from a database to each pathway

Usage

annotate_paths(metaginfo, dbannot)

Arguments

metaginfo

Pathways object

dbannot

Either a string indicating which precomputed annotation to use ("uniprot" for Uniprot Keywords or "GO" for Gene Ontology terms), or a dataframe with the annotation of the genes to the functions. First column are gene symbols, second column the functions.

Value

Object of annotations from pathways to functions

#@examples #pathways <- load_pathways(species = "hsa", pathways_list = c("hsa03320", #"hsa04012")) #annotate_paths(pathways, "GO")

#@export


babelomics/hipathia documentation built on July 27, 2022, 2:23 p.m.