Description Usage Arguments Details Value Examples
This function extracts the raw data from a BIOM object, using the correct row and column names in the result.
1 |
b |
A BIOM object. |
The BIOM object can be any list-like representation of the JSON
source code in a BIOM-format file produced by QIIME. There are several
options for creating BIOM objects from QIIME output files. The official
library for BIOM files, biom
, can create compatible objects via the
read_biom
function. Alternately, the fromJSON
function from
either RJSONIO
or rjson
may be used.
For sparse biom objects, returns a 3-column data frame of row names,
column names, and the data value. The first column is named using the
first word in the BIOM object's type
attribute (e.g. "OTU" for OTU
tables). The second and third columns are named "SampleID" and "value",
respectively. For dense biom objects, returns a matrix.
1 2 |
OTU SampleID value
1 denovo0 C1 1
2 denovo0 D5 2
3 denovo0 D3 3
4 denovo0 C3 3
5 denovo0 C5 6
6 denovo0 C4 2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.