getMotifReps: getMotifReps

View source: R/getMotifReps.R

getMotifRepsR Documentation

getMotifReps

Description

Get motifs and repetitions from short bracket format

Usage

getMotifReps(tmp, brksign = c("[", "]"))

Arguments

tmp

A string with bracket format e.g. "ATCG6"

brksign

Bracket signs to use

Details

Help function. Obtains motif and repeats from short bracket format

Value

Vector with 2 elements: Extracted motif and corresponding repetitions

Author(s)

Oyvind Bleka <oyvble.at.hotmail.com>

Examples

## Not run: 
getMotifReps("[ATCG]6")

## End(Not run)

Mariamsp/brackconv documentation built on March 17, 2022, 5:14 p.m.