seqinr (version 1.0-1)

getFrag: Generic Function to obtain a fragment of a sequence

Description

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

Usage

getFrag(object, begin, end)

Arguments

object
an object of the class SeqFastadna, SeqFastaAA, SeqAcnucWeb or SeqFrag
begin
First base
end
Last base

Value

  • An object of class SeqFrag, which is a vector of chars with many attributes:
  • seqMotherthe name of the sequence from which the sequence comes
  • beginthe position of the first base of the fragment on the mother sequence
  • endthe position of the last base of the fragment on the mother sequence
  • classthe class of the new sequence i.e. SeqFrag

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

getSequence

Examples

Run this code
methods(getFrag)

Run the code above in your browser using DataLab