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


martahidalgo/hipathia documentation built on Jan. 12, 2023, 1:44 p.m.