format_KEGG: Reformat collect_KEGG().

View source: R/collect_databases.R

format_KEGGR Documentation

Reformat collect_KEGG().

Description

This function reformats collect_KEGG().

Usage

format_KEGG(dict = NULL, orgdb = NULL)

Arguments

dict

A result of collect_KEGG().

orgdb

A genome annotation package.

Value

A formatted database.

Examples

## Not run: 
# Below may be time-consuming runs.
dict_KEGG <- collect_KEGG(organism = "hsa", categories = c("pathway"),
                          timelag = 0.1)
human_KEGG <- format_KEGG(
  dict = list(pathway = dict_KEGG[["pathway"]][["success"]]),
  orgdb = org.Hs.eg.db::org.Hs.eg.db)

## End(Not run)


keita-iida/ASURATDB documentation built on Feb. 21, 2023, 6:05 p.m.