annotate_paths: Annotates functions to pathways

Description Usage Arguments Value

View source: R/functions.R

Description

Annotates functions from a database to each pathway

Usage

1
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


hipathia documentation built on Nov. 8, 2020, 7:52 p.m.