getGenome | R Documentation |
This function obtains the basic information for one specific genome available on the OMA Browser, or - if no id is provided - a dataframe with all available genomes.
getGenome(id = NULL, attribute = NULL)
id |
A genome identifier. By default, all available genomes will be returned. |
attribute |
An extra attribute to be returned (proteins) |
Ids can be either the scientific name of a species, the NCBI taxonomy id or the UniProtKB mnemonic species code.
The optional argument attribute can be used to directly load the proteins belonging to the genome. Alternatively, you can access the proteins attribute of the result which will transparently load the proteins from the OMA Browser.
an object containing the JSON keys as attributes or a dataframe
getGenome()
getGenome(id='HUMAN')
getGenome(id=9606)
getGenome(id='HUMAN',attribute='proteins')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.