getRegexPattern: Convert IUPAC sequence to an regular expression

Description Usage Arguments Value Examples

View source: R/getRegexPattern.R

Description

The function getRegexPattern() converts a nucleotide sequence with IUPAC codes to an regular expression.

Usage

1
getRegexPattern(iupacSeq, isDNA = FALSE)

Arguments

iupacSeq

A character string with IUPAC codes.

isDNA

A logical specifying whether the iupacSeq is DNA or RNA. Deafult value is FALSE.

Value

A character string.

Examples

1
regextPattern <- getRegexPattern("CGUKMBVNN", isDNA = FALSE)

Aufiero/circRNAprofiler documentation built on July 22, 2021, 9:34 p.m.