Learn R Programming

biofiles (version 1.0.0)

span: Get the span of genomic features.

Description

Get the span of genomic features.

Usage

span(x, ...)

joint_range(x)

# S4 method for gbLocation span(x, join = FALSE)

# S4 method for gbLocation joint_range(x)

# S4 method for gbFeature span(x, join = FALSE)

# S4 method for gbFeature joint_range(x)

# S4 method for gbFeatureTable span(x, join = FALSE)

# S4 method for gbFeatureTable joint_range(x)

# S4 method for gbRecord span(x, join = FALSE)

# S4 method for gbRecordList span(x, join = FALSE)

Arguments

x

A '>gbFeature, '>gbFeatureTable, '>gbRecord, or '>gbRecordList object.

...

Further arguments passed to methods.

join

Join compound genomic locations into a single range.

Value

An integer vector or a list of integer vectors.

See Also

start, end, strand, ranges

Examples

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

Run the code above in your browser using DataLab