strand {BiocGenerics}R Documentation

Accessing strand information

Description

Get or set the strand information contained in an object.

Usage

strand(x, ...)
strand(x, ...) <- value
unstrand(x)

Arguments

x

An object containing strand information.

...

Additional arguments, for use in specific methods.

value

The strand information to set on x.

Details

All the strand methods defined in the GenomicRanges package use the same set of 3 values (called the "standard strand levels") to specify the strand of a genomic location: +, -, and *. * is used when the exact strand of the location is unknown, or irrelevant, or when the "feature" at that location belongs to both strands.

Note

unstrand is not a generic function, just a convenience wrapper to the generic strand setter (strand<-) that simply does:

  strand(x) <- "*"
  x

See Also

Examples

strand
showMethods("strand")

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

library(GenomicRanges)

showMethods("strand")
selectMethod("strand", "missing")
strand()

showMethods("strand<-")

[Package BiocGenerics version 0.14.0 Index]