| flip_strands | R Documentation |
Flips positive (+) stranded intervals to negative (-) strands,
and vice-versa. Facilitates comparisons among intervals on opposing strands.
flip_strands(x)
x |
ivl_df |
Other utilities:
bed12_to_exons(),
bed_makewindows(),
bound_intervals(),
interval_spacing()
x <- tibble::tribble(
~chrom, ~start, ~end, ~strand,
"chr1", 1, 100, "+",
"chr2", 1, 100, "-"
)
flip_strands(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.