header-methods: Extract the header from a 'biom-class' object as a list.

Description Usage Arguments Value Examples

Description

Extract the header from a biom-class object as a list.

Usage

1
2
3
4
header(x)

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

Arguments

x

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

Value

A list containing the header data. That is, all the required elements that are not the main data or index metadata.

Examples

1
2
3
biom_file = system.file("extdata", "rich_sparse_otu_table.biom", package = "biomformat")
x = read_biom(biom_file)
header(x)

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