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)

Bioconductor-mirror/biovizBase documentation built on June 1, 2017, 5:21 a.m.