getRegexPattern {circRNAprofiler} | R Documentation

## Convert IUPAC sequence to an regular expression

### Description

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

### Usage

    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

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

[Package circRNAprofiler version 1.0.0 Index]