range.dna_seg {genoPlotR} | R Documentation |
Range calculation
Description
Calculate the range of dna_seg and comparisons.
Usage
## S3 method for class 'dna_seg'
range(x, ...)
## S3 method for class 'comparison'
range(x, overall=TRUE, ...)
## S3 method for class 'annotation'
range(x, ...)
Arguments
x |
Object to calculate the range from. |
overall |
Logical, |
... |
Unused. |
Details
Calculate the overall range of a dna_seg
, comparison
or
an annotation
object.
Value
A numeric of length 2. For comparison
, if overall
is
FALSE
, a data frame with two rows and two columns, xlim1
and xlim2
.
Author(s)
Lionel Guy
See Also
dna_seg
, comparison
, trim
for further examples.
Examples
## 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)
[Package genoPlotR version 0.8.11 Index]