upperGroups: Detect uppercases as ranges object.

Description Usage Arguments Details Value

View source: R/helpers_general.R

Description

For a given string, detect how many groups of uppercases is inside, where are they, and how long they are.

Usage

1
upperGroups(candidate)

Arguments

candidate

(string) A string with the nucleotide sequence.

Details

For example: asdkfaAGASDGAsjaeuradAFDSfasfjaeiorAuaoeurasjfasdhfashTTSfajeiasjsf

Has 4 groups of uppercases of length 7, 4, 1 and 3.

Value

(IRanges) A IRanges object with uppercases groups for given candidate string


amplican documentation built on Nov. 8, 2020, 11:10 p.m.