get_annotations_enrichr: Get annotations using enrichR

View source: R/pannot.R

get_annotations_enrichrR Documentation

Get annotations using enrichR

Description

Get annotations from an enrichR database for a set of genes.

Usage

get_annotations_enrichr(
  data,
  name_id = "names",
  dbs = "GO_Biological_Process_2018",
  append_to_data = TRUE
)

Arguments

data

a vector of gene names or a data.frame with gene names in column name_id

name_id

column name used to map gene names

dbs

name of the enrichR database. Use enrichR::listEnrichrDbs() to see available databases.

append_to_data

logical, append annotations as a new column

Value

an annotated data.frame

Examples

df <- get_annotations_enrichr(c("Itsn2","Eps15l1"))
print(df)

VoisinneG/pannot documentation built on July 5, 2023, 4:19 p.m.