matrix_element_type-methods: Access class of data in the matrix elements of a 'biom-class'...

Description Usage Arguments Value See Also Examples

Description

Access class of data in the matrix elements of a biom-class object

Usage

1
2
3
4
matrix_element_type(x)

## S4 method for signature 'biom'
matrix_element_type(x)

Arguments

x

(Required). An instance of the biom-class.

Value

A character-class string indicating the class of the data stored in the main observation matrix of x, with expected values "int", "float", "unicode".

See Also

biom-class

Examples

1
2
3
4
# # # 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)

joey711/biomformat0 documentation built on May 19, 2019, 3:01 p.m.