Learn R Programming

rphast (version 1.6.9)

coord.range.msa: Obtain the range of coordinates in a MSA objects

Description

Obtain the range of coordinates in a MSA objects

Usage

coord.range.msa(x, refseq = names.msa(x)[1])

Arguments

x

An object of type msa

refseq

A character string identifying the reference sequence (or NULL to use frame of reference of entire alignment)

Value

A numeric vector of length 2 giving the smallest and highest coordinate in the alignment. If refseq is the first sequence in alignment, offset.msa(x) is added to the range, otherwise it is ignored.