Description Usage Arguments Details Value Author(s) References See Also Examples
Provide an auth key for access to private resources using the MG-RAST API.
1 | auth.MGRAST(key, file)
|
key |
value of key (string) |
file |
file containing key (string) |
Accessing private resources with the MG-RAST API requires an auth key. Log in at http://metagenomics.anl.gov to create a key, via "Preferences" on the "Account Management" page. Note you must click not only "generate new key" but also "set preferences"! Also note the key is only valid for a limited time.
The key must be entered during every R session.
Call auth.MGRAST()
specifying at most one of key
or file
.
To enter the key at an interactive prompt instead, both may be omitted.
A length-one character
vector is meant by "string", above.
The key value that has been set.
Daniel T. Braithwaite
http://metagenomics.anl.gov
http://api.metagenomics.anl.gov
1 2 3 4 5 6 | ## Not run:
auth.MGRAST("j6FNL61ekNarTgqupMma6eMx5")
auth.MGRAST(file="my_key.txt")
auth.MGRAST()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.