Description Usage Arguments Details Value Author(s) See Also Examples
Retrieve annotation pipeline information (such as abundance profiles)
for specified metagenomes and projects into an object of class biom
.
1 2 3 4 5 |
x |
a set of metagenomes and/or projects ( |
request |
choice of annotation type (string) |
... |
arguments specifying or qualifying the data desired ( |
block |
number of metagenomes per API call ( |
wait |
return only when data is complete? ( |
quiet |
suppress messages and warnings? ( |
file |
file containing a set of metagenomes or projects (string) |
outfile |
file to save the retrieved data (string) |
Complete technical documentation is forthcoming. For the current preliminary release, please refer to the examples provided.
For biomRequest()
, an environment
if wait=FALSE
.
Otherwise and for biom.environment()
, a biom
object.
Daniel T. Braithwaite
BIOM.utils::biom
,
MGRASTer::call.MGRAST
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | #### several files demonstrate valid formats for ID input
demoSets()
## Not run:
ff <- demoSets()
#### simple retrieval of annotation data
yy <- biomRequest (file=ff[1])
head (rows (yy))
#### many arguments can modify what is retrieved
yy <- biomRequest (file=ff[1], group_level="level1")
rownames (yy)
#### taxonomic annotations
yy <- biomRequest (file=ff[4], request="organism", group_level="phylum", source="Greengenes")
#### IDs can be given directly, while output can be to a file
biomRequest ("mgp9", request="function", outfile=file.path(tempdir("mgp9.biom")))
biomRequest ("mgm4441619.3 mgm4441620.3 mgm4441656.4",
request="function", outfile=file.path(tempdir("mgp9.biom")))
#### place an asynchronous request...
yy <- biomRequest ("mgp9", wait=FALSE)
#### ...and receive the data when convenient
yy <- biom (yy)
## End(Not run)
#### full detail for available options
doc.MGRAST (3, head=c("matrix","function","parameters","options"))
doc.MGRAST (3, head=c("matrix","organism","parameters","options"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.