containLetters: Checking if string contains letters or not

Description Usage Arguments Details Value Author(s) Examples

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)

jotsetung/biovizBase documentation built on May 31, 2019, 11:43 p.m.