Score aligned sequences against a key built from an alignment
Source:R/alignment.R
alignmentScores.RdComputes the tests of a keyFromAlignment() key for each sequence, for
classify(). The sequences must be aligned to the same coordinates the
key was built with: the same alignment columns or, for a key built with a
reference, an alignment that contains that reference sequence.
Arguments
- key
A key from
keyFromAlignment().- alignment
As in
keyFromAlignment().- reference
Sequence to number sites by; by default the reference the key was built with, if any.