seq_options
list for sequence‑based receptor filteringR/operations_utils.R
make_seq_options.Rd
A convenience wrapper that validates the common arguments for
filter_receptors()
and returns them in the required list form.
Character(1). Name of the receptor column to compare
(e.g. "cdr3_aa"
).
Character vector of sequences or regular expressions to search for.
One of "exact"
, "regex"
, "lev"
(Levenshtein), or
"hamm"
(Hamming). Defaults to "exact"
.
Numeric distance threshold for "lev"
/ "hamm"
filtering. Use NA
(default) to keep all rows after annotation.
Passed straight to annotate_tbl_distance()
; either
"index"
(default) or "pattern"
.
A named list suitable for the seq_options
argument of
filter_receptors()
.