SuffixTree-methods | R Documentation |
These methods create an internal suffix tree in C code and
associated data structures. These return an object of class
SuffixTree-class
which is a reference to the internal
C data.
There are two methods at present. One works
from a previously created StringSet-class
,
and the other takes a collection of strings and
constructs the StringSet-class
and then constructs the SuffixTree-class
.
if given a character vector, this constructs
a StringSet
from its string elements and then creates a
SuffixTree
from this StringSet
.
creates a SuffixTree
directly from this
StringSet
by constructing the relevant nodes and edges in C.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.