patternCount: patternCount

Description Usage Arguments Value Examples

View source: R/patternCount.R

Description

Given a pattern will count how many times the pattern occurs in a line of text.

Usage

1
patternCount(patt, txt)

Arguments

patt

A character string

txt

A character string

Value

The number of times patt occurs in txt

Examples

1
patternCount("AGC","GTGCAGCTAGC")

Ant-nguyen/RmuMotif documentation built on Jan. 13, 2022, 5:17 p.m.