seqIds: Expand tag pairs

Description Usage Arguments Details Value Author(s) Examples

View source: R/seqIds.R

Description

Expand tag pairs marking the start and end of a region

Usage

1
seqIds(id, stop, tags)

Arguments

id

Start tag or tag pair separated by dash

stop

End tag

tags

An ordered list of locus tags

Details

Matches tags to ordered list of locus tags and returns all tags between the start and end tags. If ordered tags are missing, then expands tags using seq2 to generate sequence of numbers between pairs.

Value

A vector of locus tags

Author(s)

Chris Stubben

Examples

1
2
3
4
 seqIds("YPO0010-YPO0015")
## inlcude YPO0013a and RNAs in GFF3 file
data(yplocus)
seqIds("YPO0010-YPO0015", tags=yplocus)

cstubben/pmcXML documentation built on May 14, 2019, 12:25 p.m.