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

colnames,biom-methodR Documentation

Method extensions to colnames for biom-class objects.

Description

See the general documentation of colnames method for expected behavior.

Usage

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

Arguments

x

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

Value

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

See Also

nrow

colnames

biom_shape

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

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