The input vector must be a character vector. Additional checks can be imposed with the require_alignment and require_names arguments.
Arguments
- seqs
A (named) character vector of sequences. Each value should be an amino acid HA sequence, and each name should be the name of the strain or isolate for that sequence.
- require_alignment
Logical. If TRUE, checks that all sequences are the same length.
- require_names
Logical. If TRUE, checks that all sequences are named.