.api_pull {diffEnrich}R Documentation

.api_pull

Description

This function connects to the KEGG API, downloads, and cleans ncbi gene ID data, KEGG pathway descriptions, and species specific data. Currently, this function supports Human, Mouse, and Rat. Files will be written to the working directory unless otherwise specified by the user.

Usage

.api_pull(species, path = path)

Arguments

species

character. The species to use in kegg data pull

path

character. A character string describing the path to write out KEGG API data sets. If not provided, defaults to current working directory.

Value

kegg_out: A named list of the data pulled from kegg api when the function was run. This may be different if the function is run at different times. For reproducible results, use text files generated by function that include the date they were pulled.


[Package diffEnrich version 0.1.2 Index]