powered by
Tell whether a character string is a Roche compound ID
isRocheCompoundID(str)
Character string(s)
A logical vector of the same length as str, indicating whether each element is a Roche compound ID or not.
str
Short versions (RO[1-9]2,7) are supported.
# NOT RUN { isRocheCompoundID(c("RO1234567", "RO-1234567", "RO1234567-000", "RO1234567-000-000", "ROnoise-000-000")) # }
Run the code above in your browser using DataLab