containLetters {biovizBase} | R Documentation |
Test if a string contain any letters
containLetters(obj, all=FALSE)
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. |
Useful when processing/sorting seqnames
Logical value
tengfei
containLetters("XYZ123") containLetters("XYZ123", TRUE)