tcR (version 1.1)

get.all.substrings: Get all substrings for the given sequence.

Description

Get all substrings for the given sequence.

Usage

get.all.substrings(.seq, .min.len = 3, .table = T)

Arguments

.seq
Sequence for splitting to substrings.
.min.len
Minimal length of output sequences.
.table
If T than return data frame with substrings and positions of their ends in the .seq.

Value

  • Character vector or data frame with columns "Substring", "Start" and "End".