biom_shape-methods: The matrix dimensions of a 'biom-class' object.

biom_shapeR Documentation

The matrix dimensions of a biom-class object.

Description

The matrix dimensions of a biom-class object.

Usage

biom_shape(x)

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

Arguments

x

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

Value

A length two integer-class vector indicating the nrow and ncol of the main data matrix stored in x.

See Also

biom-class

Examples

# # # import with default parameters, specify a file
biom_file = system.file("extdata", "rich_sparse_otu_table.biom", package = "biomformat")
(x = read_biom(biom_file) )
biom_shape(x)

joey711/biomformat documentation built on Aug. 21, 2023, 2:24 p.m.