n.obs.mot: Number of observed motifs

Description Usage Arguments

View source: R/n.obs.mot.R

Description

Function returning (as numeric) the number of observed motifs in a single sequence or a list of sequences.

Usage

1
n.obs.mot(motif, seq, overlap = TRUE)

Arguments

motif

A motif in the form of a text string. Can be a regular expression.

seq

a 'seq' object or a string or a list of 'seq' objects or strings

overlap

Logical, should overlapping motifs be allowed.


muhligs/Regmex documentation built on Sept. 5, 2020, 1:11 a.m.