range-methods: Returns the minimum and maximum lengths of the DNA sequences

Description Usage Arguments Value Methods See Also Examples

Description

range returns the lengths of shortest and longest DNA sequences.

Usage

1
2
## S4 method for signature 'Dna'
range(x)

Arguments

x

an object of class Dna.

Value

an integer of length two.

Methods

signature(x = "Dna")

range

See Also

length-methods

Examples

1
2
3
4
5
data("dna.obj")
x <-dna.obj

## shortest and longest DNA sequence lengths
range(x) 

haplotypes documentation built on Feb. 28, 2020, 5:08 p.m.