range.dna_seg {genoPlotR} | R Documentation |
Calculate the range of dna_seg and comparisons.
## S3 method for class 'dna_seg' range(x, ...) ## S3 method for class 'comparison' range(x, overall=TRUE, ...) ## S3 method for class 'annotation' range(x, ...)
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.
## 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)