keggInfo: Displays the current statistics of a given database

Description Usage Arguments Value Author(s) References Examples

Description

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

Usage

1
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.

Author(s)

Dan Tenenbaum

References

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

Examples

1
2
3
4
5
6
7
8
res <- keggInfo("kegg") ## displays the current statistics of the KEGG database
cat(res)
res <- keggInfo("pathway") ## displays the number pathway entries including both
                    ## the reference and organism-specific pathways
cat(res)
res <- keggInfo("hsa") ## displays the number of gene entries for the
                    ## KEGG organism Homo sapiens
cat(res)

KEGGREST documentation built on May 6, 2019, 2:29 a.m.