Description Browsing Constructor Author(s) References See Also Examples
Classes and methods to handle the Genomes resource.
listGenomes(x, ...) lists all the available genomes, returning
only a small summary for each genome.
is an AppAuth object.
Parameters supported by the REST API, specified as
name = value. For example,
listGenomes(aAuth, Offset = 5, Limit = 2)
Genomes():
Instantiates an empty Genomes object. Same as new("Genomes").
Genomes(x, id):
x is an AppAuth object.
id is either and integer or a character string storing an
integer. id can have length larger that 1.
Genomes(x):
x is an GenomesSummary object.
Adrian Alexa
https://developer.basespace.illumina.com/docs/content/documentation/rest-api/api-reference
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | data(aAuth)
## list all available genomes
g <- listGenomes(aAuth)
g$SpeciesName
## using the REST API query parameters
listGenomes(aAuth, Limit = 2)
g <- listGenomes(aAuth, Offset = 5, Limit = 2, SortBy = "Build")
g
## get the details for the listed geneomes
Genomes(g)
## get the genomes based on their ID
Genomes(aAuth, id = 4)
## if the ID is missing thean NULL is returned for that particular ID
Genomes(aAuth, id = c(4, 1, 110))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.