powered by
Calculate the range of dna_seg and comparisons.
# S3 method for dna_seg range(x, ...) # S3 method for comparison range(x, overall=TRUE, ...) # S3 method for annotation range(x, ...)
Object to calculate the range from.
Logical, TRUE by default. Should the range be calculated over the whole object? If FALSE, a range is calculated on each side of the comparison.
TRUE
FALSE
Unused.
A numeric of length 2. For comparison, if overall is FALSE, a data frame with two rows and two columns, xlim1 and xlim2.
comparison
overall
xlim1
xlim2
Calculate the overall range of a dna_seg, comparison or an annotation object.
dna_seg
annotation
dna_seg, comparison, trim for further examples.
trim
# NOT RUN { ## 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) # }
Run the code above in your browser using DataLab