dot-tm_match: Resolve one identifier against a source's own names

.tm_matchR Documentation

Resolve one identifier against a source's own names

Description

Names first, then position. On a BSgenome the chr prefix is added or removed as the genome requires, since that is a naming convention rather than information; FASTA records and seqnames are matched exactly, because theirs are arbitrary and guessing could match the wrong one.

Usage

.tm_match(x, available, src)

Arguments

x

Identifiers to resolve.

available

The source's names, possibly empty strings.

src

The source, used for its kind and for error messages.

Value

Integer positions into available.


TmCalculator documentation built on Oct. 5, 2026, 5:08 p.m.