Last data update: 2014.03.03

R: Displays the current statistics of a given database
keggInfoR Documentation

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.

Author(s)

Dan Tenenbaum

References

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

Examples

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

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(KEGGREST)
> png(filename="/home/ddbj/snapshot/RGM3/R_BC/result/KEGGREST/keggInfo.Rd_%03d_medium.png", width=480, height=480)
> ### Name: keggInfo
> ### Title: Displays the current statistics of a given database
> ### Aliases: keggInfo info
> ### Keywords: info metadata
> 
> ### ** Examples
> 
> keggInfo("kegg") ## displays the current statistics of the KEGG database
[1] "kegg             Kyoto Encyclopedia of Genes and Genomes\nkegg             Release 79.0+/07-05, Jul 16\n                 Kanehisa Laboratories\n                 pathway     443,801 entries\n                 brite       157,592 entries\n                 module      362,494 entries\n                 disease       1,579 entries\n                 drug         10,352 entries\n                 environ         850 entries\n                 orthology    19,717 entries\n                 genome        4,443 entries\n                 genes     19,353,651 entries\n                 dgenes      602,101 entries\n                 compound     17,689 entries\n                 glycan       10,989 entries\n                 reaction     10,186 entries\n                 rpair         9,582 entries\n                 rclass        3,044 entries\n                 enzyme        6,728 entries"
> keggInfo("pathway") ## displays the number pathway entries including both
[1] "pathway          KEGG Pathway Database\npath             Release 79.0+/07-05, Jul 16\n                 Kanehisa Laboratories\n                 443,801 entries"
>                     ## the reference and organism-specific pathways
> keggInfo("hsa") ## displays the number of gene entries for the KEGG organism
[1] "T01001           Homo sapiens (human) KEGG Genes Database\nhsa              Release 79.0+/07-05, Jul 16\n                 Kanehisa Laboratories\n                 39,760 entries"
>                 ## Homo sapiens
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>