Skip to contents

This function downloads gene sets from specified Enrichr databases and saves them to a specified output directory as a .tsv file. The file is named with a timestamp to ensure uniqueness.

Usage

download_enrichr_databases(
  gene_set_lib,
  output_dir = here::here(),
  filename = NULL
)

Arguments

gene_set_lib

A character vector of database names to download from Enrichr.

output_dir

A character string specifying the output directory where the .tsv file will be saved. Defaults to the current working directory.

filename

Name of the output file (with file extension. Due to commas present in some terms, .tsv is recommendet). When ommited, the file is named all_databases_timestamp.tsv.

Value

This function does not return a value but saves a .tsv file in the specified directory containing the gene sets from the specified Enrichr databases.