Description Usage Arguments Value Author(s) See Also Examples
Reverse objects, mainly dna_seg and comparison
| 1 2 3 4 5 6 7 | 
| x | The object to reverse. | 
| ... | Unused. | 
| side | In the case of comparisons, the side of the comparison that should
be reversed. If  | 
The same object as input.
Lionel Guy
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ## load data
data(three_genes)
## on dna_seg
dna_segs[[1]]
reverse(dna_segs[[1]])
## on comparison
reverse(comparisons[[2]], side=1)
reverse(comparisons[[2]], side=3)
## With mauve backbone
data(mauve_bbone)
## Plot
plot_gene_map(dna_segs=bbone$dna_segs, comparisons=bbone$comparisons)
## Reverse B_bacilliformis, and the corresponding comparison (first "side")
bbone$dna_segs[[1]] <- reverse(bbone$dna_segs[[1]])
bbone$comparisons[[1]] <- reverse(bbone$comparisons[[1]], 1)
plot_gene_map(dna_segs=bbone$dna_segs, comparisons=bbone$comparisons)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.