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

range-methodsR Documentation

Returns the minimum and maximum lengths of the DNA sequences

Description

range returns the lengths of shortest and longest DNA sequences.

Usage

## 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

data("dna.obj")
x <-dna.obj

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


haplotypes documentation built on July 26, 2023, 5:22 p.m.