annotate_paths {hipathia} | R 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

[Package hipathia version 2.4.0 Index]