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

Description Usage Arguments Value See Also Examples

Description

The matrix dimensions of a biom-class object.

Usage

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

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) )
biom_shape(x)

joey711/biomformat0 documentation built on May 18, 2017, 3:39 a.m.