KEGGREST (version 1.12.2)

keggInfo: Displays the current statistics of a given database

Description

Displays statistics of a given database, such as number of entries, version, release date, and source.

Usage

keggInfo(database)

Arguments

database
Either a KEGG database (list available via listDatabases()), a KEGG organism code (list available by calling keggList()) with the organism argument), or a T number (list available by calling keggList() with the genome argument.)

Value

A character vector containing statistics about database.

References

http://www.kegg.jp/kegg/docs/keggapi.html

Examples

Run this code
keggInfo("kegg") ## displays the current statistics of the KEGG database
keggInfo("pathway") ## displays the number pathway entries including both
                    ## the reference and organism-specific pathways
keggInfo("hsa") ## displays the number of gene entries for the KEGG organism
                ## Homo sapiens

Run the code above in your browser using DataCamp Workspace