View source: R/ontology_kegg.R
get_kegg_genes | R Documentation |
This uses KEGGREST to extract the mappings for all genes for a species and pathway or 'all'. Because downloading them takes a while, it will save the results to kegg_species.rda. When run interactively, it will give some information regarding the number of genes observed in each pathway.
get_kegg_genes(
pathway = "all",
abbreviation = NULL,
species = "leishmania major",
savefile = NULL
)
pathway |
Either a single pathway kegg id or 'all'. |
abbreviation |
Optional 3 letter species kegg id. |
species |
Stringified species name used to extract the 3 letter abbreviation. |
savefile |
Filename to which to save the relevant data. |
Dataframe of the various kegg data for each pathway, 1 row/gene.
[KEGGREST]
## Not run:
kegg_info <- get_kegg_genes(species = "Canis familiaris")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.