filter_primer_hits {rCRUX} | R Documentation |
Remove accessions that do not match length and mismatch criteria determined by parameters
filter_primer_hits(
hits_table,
forward_primer_seq,
reverse_primer_seq,
mismatch = 3,
minimum_length = 5,
maximum_length = 500
)
hits_table |
a data.frame generated by parse_primer_hits
or by |
forward_primer_seq |
passed to primer_search, which turns it into a list of each primer it could be based on its degenerate primers, then passes each one in turn to NCBI (e.g. forward_primer_seq <- "TAGAACAGGCTCCTCTAG") |
reverse_primer_seq |
passed to primer_search, which turns it into a list of each primer it could be based on its degenerate primers, then passes each one in turn to NCBI (e.g. reverse_primer_seq <- "TTAGATACCCCACTATGC") |
mismatch |
the highest acceptable mismatch value. |
minimum_length |
parse_primer_hits returns a table with a product_length
column. |
maximum_length |
parse_primer_hits returns a table with a
product_length column. |
a data.table with problematic rows removed