span: Get the span of genomic features.

Description Usage Arguments Value See Also Examples

Description

Get the span of genomic features.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
span(x, ...)

joint_range(x)

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

## S4 method for signature 'gbLocation'
joint_range(x)

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

## S4 method for signature 'gbFeature'
joint_range(x)

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

## S4 method for signature 'gbFeatureTable'
joint_range(x)

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

## S4 method for signature '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

1
2
load(system.file("extdata", "marine_metagenome.rda", package = "biofiles"))
span(x)

biofiles documentation built on May 2, 2019, 3:31 p.m.