Learn R Programming

biofiles (version 1.0.0)

getHeader: Extract the header from a "'>gbRecord" object.

Description

Extract the header from a "'>gbRecord" object.

Usage

getHeader(x, ...)

header(x, ...)

# S4 method for gbFeature header(x)

# S4 method for gbFeature getHeader(x)

# S4 method for gbFeatureTable getHeader(x)

# S4 method for gbFeatureTable header(x)

# S4 method for gbRecord getHeader(x)

# S4 method for gbRecord header(x)

Arguments

x

A "'>gbRecord", "'>gbFeature", or "'>gbFeatureTable" instance.

...

Additional arguments passed to methods.

Value

A "'>gbHeader" instance

Examples

Run this code
# NOT RUN {
load(system.file("extdata", "marine_metagenome.rda", package = "biofiles"))
getHeader(x)
header(x)
# }

Run the code above in your browser using DataLab