Description Usage Arguments Details Value Author(s) See Also Examples
Calculate the range of dna_seg and comparisons.
1 2 3 4 5 6 |
x |
Object to calculate the range from. |
overall |
Logical, |
... |
Unused. |
Calculate the overall range of a dna_seg
, comparison
or
an annotation
object.
A numeric of length 2. For comparison
, if overall
is
FALSE
, a data frame with two rows and two columns, xlim1
and xlim2
.
Lionel Guy
dna_seg
, comparison
, trim
for further examples.
1 2 3 4 5 6 7 8 9 10 11 | ## Load data
data(three_genes)
## On dna_seg
dna_segs[[1]]
range(dna_segs[[1]])
## On comparison
comparisons[[2]]
range(comparisons[[2]])
range(comparisons[[2]], overall=FALSE)
|
Loading required package: ade4
Loading required package: grid
name start end strand col lty lwd pch cex gene_type
1 feat1 2 600 -1 blue 1 1 8 1 arrows
2 feat2 1000 800 -1 grey 1 1 8 1 arrows
3 feat3 1050 1345 1 red 1 1 8 1 arrows
[1] 2 1345
start1 end1 start2 end2 direction col
1 50 500 1899 2034 1 #67000D
2 800 1100 2732 2508 -1 #08306B
[1] 50 2732
xlim1 xlim2
1 50 1899
2 1100 2732
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.