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)

circRNAprofiler documentation built on March 6, 2021, 2 a.m.