seqinr (version 1.0-1)

getLength: Generic Function To obtain the length of a sequence

Description

Methods for the classes of sequences: SeqFastadna, SeqFastaAA, SeqAcnucWeb, SeqFrag.

Usage

getLength(object)

Arguments

object
an object of class SeqFastadna, SeqFastaAA, SeqAcnucWeb or SeqFrag.

Value

  • a numeric vector giving the length of the sequence

References

� To have an overview of the seqinR's functionnality, please consult this vignette: Charif, D., Lobry, J.R. (2005) SeqinR: a contributed package to the R project for statistical computing devoted to biological sequences retrieval and analysis. Springer Verlag, Biological and Medical Physics/Biomedical Series, in preparation.

See Also

getName, getFrag

Examples

Run this code
methods(getLength)

Run the code above in your browser using DataCamp Workspace