get_pathway_functions {hipathia} | R Documentation

## Returns functions related to a pathway

### Description

Returns functions related to a pathway

### Usage

    get_pathway_functions(pathigraph, dbannot, entrez2hgnc,
      use_last_nodes = TRUE, unique = TRUE)

### Arguments

`pathigraph` | Pathway object
`dbannot` | Dataframe with the annotation of the genes to the functions. First column are gene symbols, second column the functions.
`entrez2hgnc` | Relation between Entrez and HGNC genes.
`use_last_nodes` | Boolean, whether to annotate functions to the last nodes of the pathways or not. If FALSE, functions will refer to all the nodes of the pathway.
`unique` | Boolean, whether to return the first function for each path.

### Value

List of annotations from pathways to functions

[Package hipathia version 2.0.0 Index]