get_pathway_functions: Returns functions related to a pathway

View source: R/functions.R

get_pathway_functionsR 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


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