matrix_element_type {biomformat} | R Documentation |
biom-class
objectAccess class of data in the matrix elements
of a biom-class
object
matrix_element_type(x) ## S4 method for signature 'biom' matrix_element_type(x)
x |
(Required). An instance of the |
A character-class
string indicating
the class of the data stored in the main observation matrix of x
,
with expected values "int"
, "float"
, "unicode"
.
# # # import with default parameters, specify a file biom_file = system.file("extdata", "rich_sparse_otu_table.biom", package = "biomformat") (x = read_biom(biom_file) ) matrix_element_type(x)