strand {BSgenome} | R Documentation |
The strand
generic is meant as an accessor for
strand information. Two methods are defined by the BSgenome
package, described below.
strand(x, ...)
x |
The object from which to obtain a strand factor, can be missing. |
... |
Additional arguments to pass to methods |
If x
is missing, returns an empty factor with the
standard levels that any strand factor should have: +
,
-
, and *
(for either).
If x
is a character
vector, x
is coerced to a
factor with the levels listed above.
Michael Lawrence
strand() strand(c("+", "-", NA, "*"))