biofiles (version 1.0.0)

strand: Get or set the strand information of genomic features

Description

Get or set the strand information of genomic features

Usage

strand(x, ...)

strand(x, ...) <- value

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

# S4 method for gbLocation strand(x, ...) <- value

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

# S4 method for gbFeature strand(x, ...) <- value

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

# S4 method for gbFeatureTable strand(x, ...) <- value

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

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

Arguments

x

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

...

Further arguments passed to methods.

value

The strand information to set on x.

join

Join compound genomic locations into a single range.

Value

An integer vector (or a list thereof) of 1 (plus strand), -1 (minus strand), or NA

See Also

start, end, span, ranges

Examples

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

## strand
strand(x)

## `strand<-`
showMethods("strand<-")
# }

Run the code above in your browser using DataCamp Workspace