BIOM (Biological Observation Matrix) is a simple prescription
for storing an annotated table of data.
It may be described as a format, standard, or data structure.The JSON (JavaScript Object Notation) standard
for expressing general data objects as text
is employed to define BIOM.
Therefore the native form of BIOM data is structured text,
conforming to the JSON specification in general
and the BIOM specification in particular.
Familiarity with BIOM is assumed here.
The S3 class biom
and its methods facilitate analyses
by expressing BIOM data as objects in the R environment.
The functions above apply to an R object that is already of class biom
.
print()
and summary()
show the contents of the object,
with the difference that the latter omits printing the BIOM data table.
The former always prints it in expanded (non-sparse) form.
str()
shows the raw R structure of its argument
using the default str()
with pleasing options.
head()
and tail()
return the data table's
initial or final few rows and columns.