Skip to contents

Extract sequence names and pastes strand information to it.

Usage

strandNames(gb, flip = FALSE, query = FALSE)

Arguments

gb

A GBreaks object or a GRangesList of GBreaks objects.

flip

Flip the strand names.

query

Work on the query genome.

Value

Returns a character vector, or a list of character vectors if the input was a GRangesList.

See also

Author

Charles Plessy

Examples

strandNames(exampleColinear)
#> [1] "chrA+" "chrA+"
strandNames(exampleColinear, query = TRUE)
#> [1] "chrB+" "chrB+"