flip_strands: Flip strands in intervals.

Description Usage Arguments See Also Examples

View source: R/strands.r

Description

Flips positive (+) stranded intervals to negative (-) strands, and vice-versa. Facilitates comparisons among intervals on opposing strands.

Usage

1

Arguments

x

tbl_interval()

See Also

Other utilities: bed12_to_exons, bed_makewindows, bound_intervals, interval_spacing

Examples

1
2
3
4
5
6
7
x <- trbl_interval(
  ~chrom, ~start, ~end, ~strand,
  'chr1', 1,      100,  '+',
  'chr2', 1,      100,  '-'
)

flip_strands(x)

rnabioco/valr documentation built on Jan. 6, 2019, 9:06 a.m.