containLetters: Checking if string contains letters or not

Description Usage Arguments Details Value Author(s) Examples

View source: R/utils.R

Description

Test if a string contain any letters

Usage

1

Arguments

obj

String

all

If set to FALSE, return TRUE when any letters appears; if all is set to TRUE, return TRUE only when the string is composed of just letters.

Details

Useful when processing/sorting seqnames

Value

Logical value

Author(s)

tengfei

Examples

1
2
containLetters("XYZ123")
containLetters("XYZ123", TRUE)

biovizBase documentation built on Nov. 8, 2020, 8:01 p.m.