sequence_find_all: Find and extract all duplicate sequences

View source: R/sequence_find_all.R

sequence_find_allR Documentation

Find and extract all duplicate sequences

Description

Find and extract all duplicate sequences

Usage

sequence_find_all(vec, min = 4, max)

Arguments

vec

vector with possible duplicates

min

length of the shortest sequence of interest (high risk of false positives if this is short)

max

length of longest sequence sought. If missing will find the length of the longest duplicate

Examples

data(kp2014)
sequence_find_all(
 vec = c(kp2014$`Theridion murarium Aggressiveness...4`,
        kp2014$`Theridion murarium Aggressiveness...5`,
        kp2014$`Theridion murarium Aggressiveness...6`), 
 max = 9)

Sorbus-torminalis/twopointzerothree documentation built on Aug. 18, 2022, 2:30 a.m.