nrow-methods: Method extensions to 'nrow' for 'biom-class' objects.

Description Usage Arguments Value See Also Examples

Description

See the general documentation of nrow method for expected behavior.

Usage

1
2
## S4 method for signature 'biom'
nrow(x)

Arguments

x

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

Value

The number of rows in x. A length 1 integer-class.

See Also

ncol

nrow

biom_shape

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

biomformat documentation built on Nov. 8, 2020, 7:43 p.m.