match_ac {Starr} | R Documentation

## Exact String matching using the Aho-Corasick algorithm

### Description

The Algorithm is designed to match a given set of sequences to a text. This function is used by remap for mapping reporter sequences to the genome.

### Usage

    match_ac(dictionary, text, complementary=FALSE, reverse=FALSE, reverse_complementary=FALSE, nseq)

### Arguments

`dictionary` | Set of sequences, given as a character vector
`text` | At least one text, to match the sequences to.
`complementary` | If TRUE, the sequences are searched in the complementary strand of the text
`reverse` | If TRUE, the sequences are searched in the reverse strand of the text
`reverse_complementary` | If TRUE, the sequences are searched in the reverse complementary strand of the text
`nseq` | number of sequences to search in one run

### Author(s)

Benedikt Zacher zacher@lmb.uni-muenchen.de

[Package Starr version 1.38.0 Index]