offset.msa: MSA Index Offset

Description Usage Arguments Value Author(s) Examples

View source: R/msa.R

Description

Returns the offset of the first position in an alignment from some reference sequence.

Usage

1

Arguments

x

an MSA object

Value

The difference between the first position in an alignment from the beginning of a chromosome.

Author(s)

Melissa J. Hubisz and Adam Siepel

Examples

1
2
3
4
5
6
m <- msa(seqs=c("A--ACGTAT", "AG-AGGTAA", "AGGAGGTAG"),
         names=c("human", "mouse", "rat"))
offset.msa(m)
m <- msa(seqs=c("A--ACGTAT", "AG-AGGTAA", "AGGAGGTAG"),
         names=c("human", "mouse", "rat"), offset=500000)
offset.msa(m)

rphast documentation built on May 1, 2019, 9:26 p.m.